Class MinimumThroughputBillingCommitmentInput
- java.lang.Object
-
- software.amazon.awssdk.services.kinesis.model.MinimumThroughputBillingCommitmentInput
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<MinimumThroughputBillingCommitmentInput.Builder,MinimumThroughputBillingCommitmentInput>
@Generated("software.amazon.awssdk:codegen") public final class MinimumThroughputBillingCommitmentInput extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MinimumThroughputBillingCommitmentInput.Builder,MinimumThroughputBillingCommitmentInput>
Represents the request parameters for configuring minimum throughput billing commitment.
-
Minimum throughput billing commitments provide cost savings on on-demand data streams in exchange for committing to a minimum level of throughput usage.
-
Commitments have a minimum duration of 24 hours that must be honored before they can be disabled.
-
If you attempt to disable a commitment before the minimum commitment period ends, the commitment will be scheduled for automatic disable at the earliest allowed end time.
-
You can cancel a pending disable by enabling the commitment again before the earliest allowed end time.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceMinimumThroughputBillingCommitmentInput.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MinimumThroughputBillingCommitmentInput.Builderbuilder()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 MinimumThroughputBillingCommitmentInput.Builder>serializableBuilderClass()MinimumThroughputBillingCommitmentInputStatusstatus()The desired status of the minimum throughput billing commitment.StringstatusAsString()The desired status of the minimum throughput billing commitment.MinimumThroughputBillingCommitmentInput.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 MinimumThroughputBillingCommitmentInputStatus status()
The desired status of the minimum throughput billing commitment.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnMinimumThroughputBillingCommitmentInputStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The desired status of the minimum throughput billing commitment.
- See Also:
MinimumThroughputBillingCommitmentInputStatus
-
statusAsString
public final String statusAsString()
The desired status of the minimum throughput billing commitment.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnMinimumThroughputBillingCommitmentInputStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The desired status of the minimum throughput billing commitment.
- See Also:
MinimumThroughputBillingCommitmentInputStatus
-
toBuilder
public MinimumThroughputBillingCommitmentInput.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<MinimumThroughputBillingCommitmentInput.Builder,MinimumThroughputBillingCommitmentInput>
-
builder
public static MinimumThroughputBillingCommitmentInput.Builder builder()
-
serializableBuilderClass
public static Class<? extends MinimumThroughputBillingCommitmentInput.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
-
-