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.Builder
timeToLiveSpecification
(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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.dynamodb.model.DynamoDbRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
tableName
The name of the table to be configured.
- Parameters:
tableName
- The name of the table to be configured.- 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.Builder
avoiding the need to create one manually viaTimeToLiveSpecification.builder()
.When the
Consumer
completes,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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-