Interface OfferingStatus.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<OfferingStatus.Builder,OfferingStatus>,SdkBuilder<OfferingStatus.Builder,OfferingStatus>,SdkPojo
- Enclosing class:
- OfferingStatus
public static interface OfferingStatus.Builder extends SdkPojo, CopyableBuilder<OfferingStatus.Builder,OfferingStatus>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description OfferingStatus.BuildereffectiveOn(Instant effectiveOn)The date on which the offering is effective.default OfferingStatus.Builderoffering(Consumer<Offering.Builder> offering)Represents the metadata of an offering status.OfferingStatus.Builderoffering(Offering offering)Represents the metadata of an offering status.OfferingStatus.Builderquantity(Integer quantity)The number of available devices in the offering.OfferingStatus.Buildertype(String type)The type specified for the offering status.OfferingStatus.Buildertype(OfferingTransactionType type)The type specified for the offering status.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
type
OfferingStatus.Builder type(String type)
The type specified for the offering status.
- Parameters:
type- The type specified for the offering status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
OfferingTransactionType,OfferingTransactionType
-
type
OfferingStatus.Builder type(OfferingTransactionType type)
The type specified for the offering status.
- Parameters:
type- The type specified for the offering status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
OfferingTransactionType,OfferingTransactionType
-
offering
OfferingStatus.Builder offering(Offering offering)
Represents the metadata of an offering status.
- Parameters:
offering- Represents the metadata of an offering status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
offering
default OfferingStatus.Builder offering(Consumer<Offering.Builder> offering)
Represents the metadata of an offering status.
This is a convenience method that creates an instance of theOffering.Builderavoiding the need to create one manually viaOffering.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooffering(Offering).- Parameters:
offering- a consumer that will call methods onOffering.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
offering(Offering)
-
quantity
OfferingStatus.Builder quantity(Integer quantity)
The number of available devices in the offering.
- Parameters:
quantity- The number of available devices in the offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
effectiveOn
OfferingStatus.Builder effectiveOn(Instant effectiveOn)
The date on which the offering is effective.
- Parameters:
effectiveOn- The date on which the offering is effective.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-