Interface DescribeOfferingResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeOfferingResponse.Builder,
,DescribeOfferingResponse> MediaLiveResponse.Builder
,SdkBuilder<DescribeOfferingResponse.Builder,
,DescribeOfferingResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeOfferingResponse
public static interface DescribeOfferingResponse.Builder
extends MediaLiveResponse.Builder, SdkPojo, CopyableBuilder<DescribeOfferingResponse.Builder,DescribeOfferingResponse>
-
Method Summary
Modifier and TypeMethodDescriptionUnique offering ARN, e.g.currencyCode
(String currencyCode) Currency code for usagePrice and fixedPrice in ISO-4217 format, e.g.Lease duration, e.g.durationUnits
(String durationUnits) Units for duration, e.g.durationUnits
(OfferingDurationUnits durationUnits) Units for duration, e.g.fixedPrice
(Double fixedPrice) One-time charge for each reserved resource, e.g.offeringDescription
(String offeringDescription) Offering description, e.g.offeringId
(String offeringId) Unique offering ID, e.g.offeringType
(String offeringType) Offering type, e.g.offeringType
(OfferingType offeringType) Offering type, e.g.AWS region, e.g.default DescribeOfferingResponse.Builder
resourceSpecification
(Consumer<ReservationResourceSpecification.Builder> resourceSpecification) Resource configuration details This is a convenience method that creates an instance of theReservationResourceSpecification.Builder
avoiding the need to create one manually viaReservationResourceSpecification.builder()
.resourceSpecification
(ReservationResourceSpecification resourceSpecification) Resource configuration detailsusagePrice
(Double usagePrice) Recurring usage charge for each reserved resource, e.g.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.medialive.model.MediaLiveResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
arn
Unique offering ARN, e.g. 'arn:aws:medialive:us-west-2:123456789012:offering:87654321'- Parameters:
arn
- Unique offering ARN, e.g. 'arn:aws:medialive:us-west-2:123456789012:offering:87654321'- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currencyCode
Currency code for usagePrice and fixedPrice in ISO-4217 format, e.g. 'USD'- Parameters:
currencyCode
- Currency code for usagePrice and fixedPrice in ISO-4217 format, e.g. 'USD'- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
duration
Lease duration, e.g. '12'- Parameters:
duration
- Lease duration, e.g. '12'- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
durationUnits
Units for duration, e.g. 'MONTHS'- Parameters:
durationUnits
- Units for duration, e.g. 'MONTHS'- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
durationUnits
Units for duration, e.g. 'MONTHS'- Parameters:
durationUnits
- Units for duration, e.g. 'MONTHS'- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
fixedPrice
One-time charge for each reserved resource, e.g. '0.0' for a NO_UPFRONT offering- Parameters:
fixedPrice
- One-time charge for each reserved resource, e.g. '0.0' for a NO_UPFRONT offering- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
offeringDescription
Offering description, e.g. 'HD AVC output at 10-20 Mbps, 30 fps, and standard VQ in US West (Oregon)'- Parameters:
offeringDescription
- Offering description, e.g. 'HD AVC output at 10-20 Mbps, 30 fps, and standard VQ in US West (Oregon)'- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
offeringId
Unique offering ID, e.g. '87654321'- Parameters:
offeringId
- Unique offering ID, e.g. '87654321'- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
offeringType
Offering type, e.g. 'NO_UPFRONT'- Parameters:
offeringType
- Offering type, e.g. 'NO_UPFRONT'- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
offeringType
Offering type, e.g. 'NO_UPFRONT'- Parameters:
offeringType
- Offering type, e.g. 'NO_UPFRONT'- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
region
AWS region, e.g. 'us-west-2'- Parameters:
region
- AWS region, e.g. 'us-west-2'- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceSpecification
DescribeOfferingResponse.Builder resourceSpecification(ReservationResourceSpecification resourceSpecification) Resource configuration details- Parameters:
resourceSpecification
- Resource configuration details- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceSpecification
default DescribeOfferingResponse.Builder resourceSpecification(Consumer<ReservationResourceSpecification.Builder> resourceSpecification) Resource configuration details This is a convenience method that creates an instance of theReservationResourceSpecification.Builder
avoiding the need to create one manually viaReservationResourceSpecification.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresourceSpecification(ReservationResourceSpecification)
.- Parameters:
resourceSpecification
- a consumer that will call methods onReservationResourceSpecification.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
usagePrice
Recurring usage charge for each reserved resource, e.g. '157.0'- Parameters:
usagePrice
- Recurring usage charge for each reserved resource, e.g. '157.0'- Returns:
- Returns a reference to this object so that method calls can be chained together.
-