public static interface OfferingStatus.Builder extends CopyableBuilder<OfferingStatus.Builder,OfferingStatus>
Modifier and Type | Method and Description |
---|---|
OfferingStatus.Builder |
effectiveOn(Instant effectiveOn)
The date on which the offering is effective.
|
default OfferingStatus.Builder |
offering(Consumer<Offering.Builder> offering)
Represents the metadata of an offering status.
|
OfferingStatus.Builder |
offering(Offering offering)
Represents the metadata of an offering status.
|
OfferingStatus.Builder |
quantity(Integer quantity)
The number of available devices in the offering.
|
OfferingStatus.Builder |
type(OfferingTransactionType type)
The type specified for the offering status.
|
OfferingStatus.Builder |
type(String type)
The type specified for the offering status.
|
copy
applyMutation, build
OfferingStatus.Builder type(String type)
The type specified for the offering status.
type
- The type specified for the offering status.OfferingTransactionType
,
OfferingTransactionType
OfferingStatus.Builder type(OfferingTransactionType type)
The type specified for the offering status.
type
- The type specified for the offering status.OfferingTransactionType
,
OfferingTransactionType
OfferingStatus.Builder offering(Offering offering)
Represents the metadata of an offering status.
offering
- Represents the metadata of an offering status.default OfferingStatus.Builder offering(Consumer<Offering.Builder> offering)
Represents the metadata of an offering status.
This is a convenience that creates an instance of theOffering.Builder
avoiding the need to create
one manually via Offering.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to offering(Offering)
.offering
- a consumer that will call methods on Offering.Builder
offering(Offering)
OfferingStatus.Builder quantity(Integer quantity)
The number of available devices in the offering.
quantity
- The number of available devices in the offering.OfferingStatus.Builder effectiveOn(Instant effectiveOn)
The date on which the offering is effective.
effectiveOn
- The date on which the offering is effective.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.