Class Offering
- java.lang.Object
-
- software.amazon.awssdk.services.mediaconnect.model.Offering
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Offering.Builder,Offering>
@Generated("software.amazon.awssdk:codegen") public final class Offering extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Offering.Builder,Offering>
A savings plan that reserves a certain amount of outbound bandwidth usage at a discounted rate each month over a period of time.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceOffering.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Offering.Builderbuilder()StringcurrencyCode()The type of currency that is used for billing.Integerduration()The length of time that your reservation would be active.DurationUnitsdurationUnits()The unit of measurement for the duration of the offering.StringdurationUnitsAsString()The unit of measurement for the duration of the offering.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringofferingArn()The Amazon Resource Name (ARN) that MediaConnect assigns to the offering.StringofferingDescription()A description of the offering.StringpricePerUnit()The cost of a single unit.PriceUnitspriceUnits()The unit of measurement that is used for billing.StringpriceUnitsAsString()The unit of measurement that is used for billing.ResourceSpecificationresourceSpecification()A definition of the amount of outbound bandwidth that you would be reserving if you purchase the offering.List<SdkField<?>>sdkFields()static Class<? extends Offering.Builder>serializableBuilderClass()Offering.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
currencyCode
public final String currencyCode()
The type of currency that is used for billing. The currencyCode used for all reservations is US dollars.- Returns:
- The type of currency that is used for billing. The currencyCode used for all reservations is US dollars.
-
duration
public final Integer duration()
The length of time that your reservation would be active.- Returns:
- The length of time that your reservation would be active.
-
durationUnits
public final DurationUnits durationUnits()
The unit of measurement for the duration of the offering.If the service returns an enum value that is not available in the current SDK version,
durationUnitswill returnDurationUnits.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdurationUnitsAsString().- Returns:
- The unit of measurement for the duration of the offering.
- See Also:
DurationUnits
-
durationUnitsAsString
public final String durationUnitsAsString()
The unit of measurement for the duration of the offering.If the service returns an enum value that is not available in the current SDK version,
durationUnitswill returnDurationUnits.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdurationUnitsAsString().- Returns:
- The unit of measurement for the duration of the offering.
- See Also:
DurationUnits
-
offeringArn
public final String offeringArn()
The Amazon Resource Name (ARN) that MediaConnect assigns to the offering.- Returns:
- The Amazon Resource Name (ARN) that MediaConnect assigns to the offering.
-
offeringDescription
public final String offeringDescription()
A description of the offering.- Returns:
- A description of the offering.
-
pricePerUnit
public final String pricePerUnit()
The cost of a single unit. This value, in combination with priceUnits, makes up the rate.- Returns:
- The cost of a single unit. This value, in combination with priceUnits, makes up the rate.
-
priceUnits
public final PriceUnits priceUnits()
The unit of measurement that is used for billing. This value, in combination with pricePerUnit, makes up the rate.If the service returns an enum value that is not available in the current SDK version,
priceUnitswill returnPriceUnits.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompriceUnitsAsString().- Returns:
- The unit of measurement that is used for billing. This value, in combination with pricePerUnit, makes up the rate.
- See Also:
PriceUnits
-
priceUnitsAsString
public final String priceUnitsAsString()
The unit of measurement that is used for billing. This value, in combination with pricePerUnit, makes up the rate.If the service returns an enum value that is not available in the current SDK version,
priceUnitswill returnPriceUnits.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompriceUnitsAsString().- Returns:
- The unit of measurement that is used for billing. This value, in combination with pricePerUnit, makes up the rate.
- See Also:
PriceUnits
-
resourceSpecification
public final ResourceSpecification resourceSpecification()
A definition of the amount of outbound bandwidth that you would be reserving if you purchase the offering.- Returns:
- A definition of the amount of outbound bandwidth that you would be reserving if you purchase the offering.
-
toBuilder
public Offering.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Offering.Builder,Offering>
-
builder
public static Offering.Builder builder()
-
serializableBuilderClass
public static Class<? extends Offering.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-