Class MinimumThroughputBillingCommitmentOutput
- java.lang.Object
-
- software.amazon.awssdk.services.kinesis.model.MinimumThroughputBillingCommitmentOutput
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<MinimumThroughputBillingCommitmentOutput.Builder,MinimumThroughputBillingCommitmentOutput>
@Generated("software.amazon.awssdk:codegen") public final class MinimumThroughputBillingCommitmentOutput extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MinimumThroughputBillingCommitmentOutput.Builder,MinimumThroughputBillingCommitmentOutput>
Represents the current status of minimum throughput billing commitment for an account.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceMinimumThroughputBillingCommitmentOutput.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MinimumThroughputBillingCommitmentOutput.Builderbuilder()InstantearliestAllowedEndAt()The earliest timestamp when the commitment can be ended.InstantendedAt()The timestamp when the commitment was ended.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends MinimumThroughputBillingCommitmentOutput.Builder>serializableBuilderClass()InstantstartedAt()The timestamp when the commitment was started.MinimumThroughputBillingCommitmentOutputStatusstatus()The current status of the minimum throughput billing commitment.StringstatusAsString()The current status of the minimum throughput billing commitment.MinimumThroughputBillingCommitmentOutput.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
-
status
public final MinimumThroughputBillingCommitmentOutputStatus status()
The current status of the minimum throughput billing commitment.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnMinimumThroughputBillingCommitmentOutputStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current status of the minimum throughput billing commitment.
- See Also:
MinimumThroughputBillingCommitmentOutputStatus
-
statusAsString
public final String statusAsString()
The current status of the minimum throughput billing commitment.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnMinimumThroughputBillingCommitmentOutputStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current status of the minimum throughput billing commitment.
- See Also:
MinimumThroughputBillingCommitmentOutputStatus
-
startedAt
public final Instant startedAt()
The timestamp when the commitment was started.
- Returns:
- The timestamp when the commitment was started.
-
endedAt
public final Instant endedAt()
The timestamp when the commitment was ended.
- Returns:
- The timestamp when the commitment was ended.
-
earliestAllowedEndAt
public final Instant earliestAllowedEndAt()
The earliest timestamp when the commitment can be ended.
- Returns:
- The earliest timestamp when the commitment can be ended.
-
toBuilder
public MinimumThroughputBillingCommitmentOutput.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<MinimumThroughputBillingCommitmentOutput.Builder,MinimumThroughputBillingCommitmentOutput>
-
builder
public static MinimumThroughputBillingCommitmentOutput.Builder builder()
-
serializableBuilderClass
public static Class<? extends MinimumThroughputBillingCommitmentOutput.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-