Interface UpdateTimeToLiveRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateTimeToLiveRequest.Builder,,UpdateTimeToLiveRequest> DynamoDbRequest.Builder,SdkBuilder<UpdateTimeToLiveRequest.Builder,,UpdateTimeToLiveRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateTimeToLiveRequest
public static interface UpdateTimeToLiveRequest.Builder
extends DynamoDbRequest.Builder, SdkPojo, CopyableBuilder<UpdateTimeToLiveRequest.Builder,UpdateTimeToLiveRequest>
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The name of the table to be configured.default UpdateTimeToLiveRequest.BuildertimeToLiveSpecification(Consumer<TimeToLiveSpecification.Builder> timeToLiveSpecification) Represents the settings used to enable or disable Time to Live for the specified table.timeToLiveSpecification(TimeToLiveSpecification timeToLiveSpecification) Represents the settings used to enable or disable Time to Live for the specified table.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.dynamodb.model.DynamoDbRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
tableName
The name of the table to be configured. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.
- Parameters:
tableName- The name of the table to be configured. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeToLiveSpecification
UpdateTimeToLiveRequest.Builder timeToLiveSpecification(TimeToLiveSpecification timeToLiveSpecification) Represents the settings used to enable or disable Time to Live for the specified table.
- Parameters:
timeToLiveSpecification- Represents the settings used to enable or disable Time to Live for the specified table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeToLiveSpecification
default UpdateTimeToLiveRequest.Builder timeToLiveSpecification(Consumer<TimeToLiveSpecification.Builder> timeToLiveSpecification) Represents the settings used to enable or disable Time to Live for the specified table.
This is a convenience method that creates an instance of theTimeToLiveSpecification.Builderavoiding the need to create one manually viaTimeToLiveSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totimeToLiveSpecification(TimeToLiveSpecification).- Parameters:
timeToLiveSpecification- a consumer that will call methods onTimeToLiveSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateTimeToLiveRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateTimeToLiveRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-