public static interface Offering.Builder extends CopyableBuilder<Offering.Builder,Offering>
| Modifier and Type | Method and Description |
|---|---|
Offering.Builder |
description(String description)
A string describing the offering.
|
Offering.Builder |
id(String id)
The ID that corresponds to a device offering.
|
Offering.Builder |
platform(DevicePlatform platform)
The platform of the device (e.g., ANDROID or IOS).
|
Offering.Builder |
platform(String platform)
The platform of the device (e.g., ANDROID or IOS).
|
Offering.Builder |
recurringCharges(Collection<RecurringCharge> recurringCharges)
Specifies whether there are recurring charges for the offering.
|
Offering.Builder |
recurringCharges(Consumer<RecurringCharge.Builder>... recurringCharges)
Specifies whether there are recurring charges for the offering.
|
Offering.Builder |
recurringCharges(RecurringCharge... recurringCharges)
Specifies whether there are recurring charges for the offering.
|
Offering.Builder |
type(OfferingType type)
The type of offering (e.g., "RECURRING") for a device.
|
Offering.Builder |
type(String type)
The type of offering (e.g., "RECURRING") for a device.
|
copyapply, buildOffering.Builder id(String id)
The ID that corresponds to a device offering.
id - The ID that corresponds to a device offering.Offering.Builder description(String description)
A string describing the offering.
description - A string describing the offering.Offering.Builder type(String type)
The type of offering (e.g., "RECURRING") for a device.
type - The type of offering (e.g., "RECURRING") for a device.OfferingType,
OfferingTypeOffering.Builder type(OfferingType type)
The type of offering (e.g., "RECURRING") for a device.
type - The type of offering (e.g., "RECURRING") for a device.OfferingType,
OfferingTypeOffering.Builder platform(String platform)
The platform of the device (e.g., ANDROID or IOS).
platform - The platform of the device (e.g., ANDROID or IOS).DevicePlatform,
DevicePlatformOffering.Builder platform(DevicePlatform platform)
The platform of the device (e.g., ANDROID or IOS).
platform - The platform of the device (e.g., ANDROID or IOS).DevicePlatform,
DevicePlatformOffering.Builder recurringCharges(Collection<RecurringCharge> recurringCharges)
Specifies whether there are recurring charges for the offering.
recurringCharges - Specifies whether there are recurring charges for the offering.Offering.Builder recurringCharges(RecurringCharge... recurringCharges)
Specifies whether there are recurring charges for the offering.
recurringCharges - Specifies whether there are recurring charges for the offering.Offering.Builder recurringCharges(Consumer<RecurringCharge.Builder>... recurringCharges)
Specifies whether there are recurring charges for the offering.
This is a convenience that creates an instance of theList.Builder avoiding the need
to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and
its result is passed to #recurringCharges(List) .recurringCharges - a consumer that will call methods on List.Builder #recurringCharges(List) Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.