@Generated(value="software.amazon.awssdk:codegen") public final class Reservation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Reservation.Builder,Reservation>
| Modifier and Type | Class and Description |
|---|---|
static interface |
Reservation.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Reservation.Builder |
builder() |
String |
currencyCode()
The type of currency that is used for billing.
|
Integer |
duration()
The length of time that this reservation is active.
|
DurationUnits |
durationUnits()
The unit of measurement for the duration of the reservation.
|
String |
durationUnitsAsString()
The unit of measurement for the duration of the reservation.
|
String |
end()
The day and time that this reservation expires.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
offeringArn()
The Amazon Resource Name (ARN) that MediaConnect assigns to the offering.
|
String |
offeringDescription()
A description of the offering.
|
String |
pricePerUnit()
The cost of a single unit.
|
PriceUnits |
priceUnits()
The unit of measurement that is used for billing.
|
String |
priceUnitsAsString()
The unit of measurement that is used for billing.
|
String |
reservationArn()
The Amazon Resource Name (ARN) that MediaConnect assigns to the reservation when you purchase an offering.
|
String |
reservationName()
The name that you assigned to the reservation when you purchased the offering.
|
ReservationState |
reservationState()
The status of your reservation.
|
String |
reservationStateAsString()
The status of your reservation.
|
ResourceSpecification |
resourceSpecification()
A definition of the amount of outbound bandwidth that you would be reserving if you purchase the offering.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Reservation.Builder> |
serializableBuilderClass() |
String |
start()
The day and time that the reservation becomes active.
|
Reservation.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String currencyCode()
public Integer duration()
public DurationUnits durationUnits()
If the service returns an enum value that is not available in the current SDK version, durationUnits
will return DurationUnits.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
durationUnitsAsString().
DurationUnitspublic String durationUnitsAsString()
If the service returns an enum value that is not available in the current SDK version, durationUnits
will return DurationUnits.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
durationUnitsAsString().
DurationUnitspublic String end()
public String offeringArn()
public String offeringDescription()
public String pricePerUnit()
public PriceUnits priceUnits()
If the service returns an enum value that is not available in the current SDK version, priceUnits will
return PriceUnits.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
priceUnitsAsString().
PriceUnitspublic String priceUnitsAsString()
If the service returns an enum value that is not available in the current SDK version, priceUnits will
return PriceUnits.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
priceUnitsAsString().
PriceUnitspublic String reservationArn()
public String reservationName()
public ReservationState reservationState()
If the service returns an enum value that is not available in the current SDK version, reservationState
will return ReservationState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from reservationStateAsString().
ReservationStatepublic String reservationStateAsString()
If the service returns an enum value that is not available in the current SDK version, reservationState
will return ReservationState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from reservationStateAsString().
ReservationStatepublic ResourceSpecification resourceSpecification()
public String start()
public Reservation.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Reservation.Builder,Reservation>public static Reservation.Builder builder()
public static Class<? extends Reservation.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.