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
Modifier and TypeMethodDescriptioneffectiveOn(Instant effectiveOn) The date on which the offering is effective.default OfferingStatus.Builderoffering(Consumer<Offering.Builder> offering) Represents the metadata of an offering status.Represents the metadata of an offering status.The number of available devices in the offering.The type specified for the offering status.type(OfferingTransactionType type) The type specified for the offering status.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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:
-
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:
-
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
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:
-
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
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.
-