@Generated(value="software.amazon.awssdk:codegen") public final class ReservationPlan extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ReservationPlan.Builder,ReservationPlan>
Modifier and Type | Class and Description |
---|---|
static interface |
ReservationPlan.Builder |
Modifier and Type | Method and Description |
---|---|
static ReservationPlan.Builder |
builder() |
Commitment |
commitment()
The length of time that you commit to when you set up a pricing plan contract for a reserved queue.
|
String |
commitmentAsString()
The length of time that you commit to when you set up a pricing plan contract for a reserved queue.
|
boolean |
equals(Object obj) |
Instant |
expiresAt()
The time stamp, in epoch seconds, for when the pricing plan for this reserved queue expires.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
purchasedAt()
The time stamp in epoch seconds when the reserved queue's reservation plan was created.
|
RenewalType |
renewalType()
Specifies whether the pricing plan contract for your reserved queue automatically renews (AUTO_RENEW) or expires
(EXPIRE) at the end of the contract period.
|
String |
renewalTypeAsString()
Specifies whether the pricing plan contract for your reserved queue automatically renews (AUTO_RENEW) or expires
(EXPIRE) at the end of the contract period.
|
Integer |
reservedSlots()
Specifies the number of reserved transcode slots (RTS) for this queue.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ReservationPlan.Builder> |
serializableBuilderClass() |
ReservationPlanStatus |
status()
Specifies whether the pricing plan for your reserved queue is ACTIVE or EXPIRED.
|
String |
statusAsString()
Specifies whether the pricing plan for your reserved queue is ACTIVE or EXPIRED.
|
ReservationPlan.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public Commitment commitment()
If the service returns an enum value that is not available in the current SDK version, commitment
will
return Commitment.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
commitmentAsString()
.
Commitment
public String commitmentAsString()
If the service returns an enum value that is not available in the current SDK version, commitment
will
return Commitment.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
commitmentAsString()
.
Commitment
public Instant expiresAt()
public Instant purchasedAt()
public RenewalType renewalType()
If the service returns an enum value that is not available in the current SDK version, renewalType
will
return RenewalType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
renewalTypeAsString()
.
RenewalType
public String renewalTypeAsString()
If the service returns an enum value that is not available in the current SDK version, renewalType
will
return RenewalType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
renewalTypeAsString()
.
RenewalType
public Integer reservedSlots()
public ReservationPlanStatus status()
If the service returns an enum value that is not available in the current SDK version, status
will
return ReservationPlanStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from statusAsString()
.
ReservationPlanStatus
public String statusAsString()
If the service returns an enum value that is not available in the current SDK version, status
will
return ReservationPlanStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from statusAsString()
.
ReservationPlanStatus
public ReservationPlan.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ReservationPlan.Builder,ReservationPlan>
public static ReservationPlan.Builder builder()
public static Class<? extends ReservationPlan.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.