Interface Offering.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Offering.Builder,,Offering> SdkBuilder<Offering.Builder,,Offering> SdkPojo
- Enclosing class:
Offering
public static interface Offering.Builder
extends SdkPojo, CopyableBuilder<Offering.Builder,Offering>
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) A string that describes the offering.The ID that corresponds to a device offering.The platform of the device (for example,ANDROIDorIOS).platform(DevicePlatform platform) The platform of the device (for example,ANDROIDorIOS).recurringCharges(Collection<RecurringCharge> recurringCharges) Specifies whether there are recurring charges for the offering.recurringCharges(Consumer<RecurringCharge.Builder>... recurringCharges) Specifies whether there are recurring charges for the offering.recurringCharges(RecurringCharge... recurringCharges) Specifies whether there are recurring charges for the offering.The type of offering (for example,RECURRING) for a device.type(OfferingType type) The type of offering (for example,RECURRING) for a device.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
-
id
The ID that corresponds to a device offering.
- Parameters:
id- The ID that corresponds to a device offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A string that describes the offering.
- Parameters:
description- A string that describes the offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of offering (for example,
RECURRING) for a device.- Parameters:
type- The type of offering (for example,RECURRING) for a device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of offering (for example,
RECURRING) for a device.- Parameters:
type- The type of offering (for example,RECURRING) for a device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
platform
The platform of the device (for example,
ANDROIDorIOS).- Parameters:
platform- The platform of the device (for example,ANDROIDorIOS).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
platform
The platform of the device (for example,
ANDROIDorIOS).- Parameters:
platform- The platform of the device (for example,ANDROIDorIOS).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
recurringCharges
Specifies whether there are recurring charges for the offering.
- Parameters:
recurringCharges- Specifies whether there are recurring charges for the offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recurringCharges
Specifies whether there are recurring charges for the offering.
- Parameters:
recurringCharges- Specifies whether there are recurring charges for the offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recurringCharges
Specifies whether there are recurring charges for the offering.
This is a convenience method that creates an instance of theRecurringCharge.Builderavoiding the need to create one manually viaRecurringCharge.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torecurringCharges(List<RecurringCharge>).- Parameters:
recurringCharges- a consumer that will call methods onRecurringCharge.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-