Interface ReplicaGlobalSecondaryIndexAutoScalingDescription.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<ReplicaGlobalSecondaryIndexAutoScalingDescription.Builder,ReplicaGlobalSecondaryIndexAutoScalingDescription>
,SdkBuilder<ReplicaGlobalSecondaryIndexAutoScalingDescription.Builder,ReplicaGlobalSecondaryIndexAutoScalingDescription>
,SdkPojo
- Enclosing class:
- ReplicaGlobalSecondaryIndexAutoScalingDescription
public static interface ReplicaGlobalSecondaryIndexAutoScalingDescription.Builder extends SdkPojo, CopyableBuilder<ReplicaGlobalSecondaryIndexAutoScalingDescription.Builder,ReplicaGlobalSecondaryIndexAutoScalingDescription>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ReplicaGlobalSecondaryIndexAutoScalingDescription.Builder
indexName(String indexName)
The name of the global secondary index.ReplicaGlobalSecondaryIndexAutoScalingDescription.Builder
indexStatus(String indexStatus)
The current state of the replica global secondary index:ReplicaGlobalSecondaryIndexAutoScalingDescription.Builder
indexStatus(IndexStatus indexStatus)
The current state of the replica global secondary index:default ReplicaGlobalSecondaryIndexAutoScalingDescription.Builder
provisionedReadCapacityAutoScalingSettings(Consumer<AutoScalingSettingsDescription.Builder> provisionedReadCapacityAutoScalingSettings)
Sets the value of the ProvisionedReadCapacityAutoScalingSettings property for this object.ReplicaGlobalSecondaryIndexAutoScalingDescription.Builder
provisionedReadCapacityAutoScalingSettings(AutoScalingSettingsDescription provisionedReadCapacityAutoScalingSettings)
Sets the value of the ProvisionedReadCapacityAutoScalingSettings property for this object.default ReplicaGlobalSecondaryIndexAutoScalingDescription.Builder
provisionedWriteCapacityAutoScalingSettings(Consumer<AutoScalingSettingsDescription.Builder> provisionedWriteCapacityAutoScalingSettings)
Sets the value of the ProvisionedWriteCapacityAutoScalingSettings property for this object.ReplicaGlobalSecondaryIndexAutoScalingDescription.Builder
provisionedWriteCapacityAutoScalingSettings(AutoScalingSettingsDescription provisionedWriteCapacityAutoScalingSettings)
Sets the value of the ProvisionedWriteCapacityAutoScalingSettings property for this object.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
indexName
ReplicaGlobalSecondaryIndexAutoScalingDescription.Builder indexName(String indexName)
The name of the global secondary index.
- Parameters:
indexName
- The name of the global secondary index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
indexStatus
ReplicaGlobalSecondaryIndexAutoScalingDescription.Builder indexStatus(String indexStatus)
The current state of the replica global secondary index:
-
CREATING
- The index is being created. -
UPDATING
- The table/index configuration is being updated. The table/index remains available for data operations whenUPDATING
-
DELETING
- The index is being deleted. -
ACTIVE
- The index is ready for use.
- Parameters:
indexStatus
- The current state of the replica global secondary index:-
CREATING
- The index is being created. -
UPDATING
- The table/index configuration is being updated. The table/index remains available for data operations whenUPDATING
-
DELETING
- The index is being deleted. -
ACTIVE
- The index is ready for use.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
IndexStatus
,IndexStatus
-
-
indexStatus
ReplicaGlobalSecondaryIndexAutoScalingDescription.Builder indexStatus(IndexStatus indexStatus)
The current state of the replica global secondary index:
-
CREATING
- The index is being created. -
UPDATING
- The table/index configuration is being updated. The table/index remains available for data operations whenUPDATING
-
DELETING
- The index is being deleted. -
ACTIVE
- The index is ready for use.
- Parameters:
indexStatus
- The current state of the replica global secondary index:-
CREATING
- The index is being created. -
UPDATING
- The table/index configuration is being updated. The table/index remains available for data operations whenUPDATING
-
DELETING
- The index is being deleted. -
ACTIVE
- The index is ready for use.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
IndexStatus
,IndexStatus
-
-
provisionedReadCapacityAutoScalingSettings
ReplicaGlobalSecondaryIndexAutoScalingDescription.Builder provisionedReadCapacityAutoScalingSettings(AutoScalingSettingsDescription provisionedReadCapacityAutoScalingSettings)
Sets the value of the ProvisionedReadCapacityAutoScalingSettings property for this object.- Parameters:
provisionedReadCapacityAutoScalingSettings
- The new value for the ProvisionedReadCapacityAutoScalingSettings property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
provisionedReadCapacityAutoScalingSettings
default ReplicaGlobalSecondaryIndexAutoScalingDescription.Builder provisionedReadCapacityAutoScalingSettings(Consumer<AutoScalingSettingsDescription.Builder> provisionedReadCapacityAutoScalingSettings)
Sets the value of the ProvisionedReadCapacityAutoScalingSettings property for this object. This is a convenience method that creates an instance of theAutoScalingSettingsDescription.Builder
avoiding the need to create one manually viaAutoScalingSettingsDescription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprovisionedReadCapacityAutoScalingSettings(AutoScalingSettingsDescription)
.- Parameters:
provisionedReadCapacityAutoScalingSettings
- a consumer that will call methods onAutoScalingSettingsDescription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
provisionedReadCapacityAutoScalingSettings(AutoScalingSettingsDescription)
-
provisionedWriteCapacityAutoScalingSettings
ReplicaGlobalSecondaryIndexAutoScalingDescription.Builder provisionedWriteCapacityAutoScalingSettings(AutoScalingSettingsDescription provisionedWriteCapacityAutoScalingSettings)
Sets the value of the ProvisionedWriteCapacityAutoScalingSettings property for this object.- Parameters:
provisionedWriteCapacityAutoScalingSettings
- The new value for the ProvisionedWriteCapacityAutoScalingSettings property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
provisionedWriteCapacityAutoScalingSettings
default ReplicaGlobalSecondaryIndexAutoScalingDescription.Builder provisionedWriteCapacityAutoScalingSettings(Consumer<AutoScalingSettingsDescription.Builder> provisionedWriteCapacityAutoScalingSettings)
Sets the value of the ProvisionedWriteCapacityAutoScalingSettings property for this object. This is a convenience method that creates an instance of theAutoScalingSettingsDescription.Builder
avoiding the need to create one manually viaAutoScalingSettingsDescription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprovisionedWriteCapacityAutoScalingSettings(AutoScalingSettingsDescription)
.- Parameters:
provisionedWriteCapacityAutoScalingSettings
- a consumer that will call methods onAutoScalingSettingsDescription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
provisionedWriteCapacityAutoScalingSettings(AutoScalingSettingsDescription)
-
-