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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Offering.Builderdescription(String description)A string that describes the offering.Offering.Builderid(String id)The ID that corresponds to a device offering.Offering.Builderplatform(String platform)The platform of the device (for example,ANDROIDorIOS).Offering.Builderplatform(DevicePlatform platform)The platform of the device (for example,ANDROIDorIOS).Offering.BuilderrecurringCharges(Collection<RecurringCharge> recurringCharges)Specifies whether there are recurring charges for the offering.Offering.BuilderrecurringCharges(Consumer<RecurringCharge.Builder>... recurringCharges)Specifies whether there are recurring charges for the offering.Offering.BuilderrecurringCharges(RecurringCharge... recurringCharges)Specifies whether there are recurring charges for the offering.Offering.Buildertype(String type)The type of offering (for example,RECURRING) for a device.Offering.Buildertype(OfferingType type)The type of offering (for example,RECURRING) for a device.-
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
-
id
Offering.Builder id(String 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
Offering.Builder description(String 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
Offering.Builder type(String 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:
OfferingType,OfferingType
-
type
Offering.Builder type(OfferingType 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:
OfferingType,OfferingType
-
platform
Offering.Builder platform(String 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:
DevicePlatform,DevicePlatform
-
platform
Offering.Builder platform(DevicePlatform 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:
DevicePlatform,DevicePlatform
-
recurringCharges
Offering.Builder recurringCharges(Collection<RecurringCharge> 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
Offering.Builder recurringCharges(RecurringCharge... 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
Offering.Builder recurringCharges(Consumer<RecurringCharge.Builder>... 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 to#recurringCharges(List.) - 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:
#recurringCharges(java.util.Collection)
-
-