@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 the term of your reserved queue pricing plan commitment.
|
String |
commitmentAsString()
The length of the term of your reserved queue pricing plan commitment.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Instant |
expiresAt()
The timestamp in epoch seconds for when the current pricing plan term for this reserved queue expires.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
purchasedAt()
The timestamp in epoch seconds for when you set up the current pricing plan for this reserved queue.
|
RenewalType |
renewalType()
Specifies whether the term of your reserved queue pricing plan is automatically extended (AUTO_RENEW) or expires
(EXPIRE) at the end of the term.
|
String |
renewalTypeAsString()
Specifies whether the term of your reserved queue pricing plan is automatically extended (AUTO_RENEW) or expires
(EXPIRE) at the end of the term.
|
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() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final 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 final 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 final Instant expiresAt()
public final Instant purchasedAt()
public final 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 final 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 final Integer reservedSlots()
public final 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 final 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()
toBuilder
in interface ToCopyableBuilder<ReservationPlan.Builder,ReservationPlan>
public static ReservationPlan.Builder builder()
public static Class<? extends ReservationPlan.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2023. All rights reserved.