Interface UpdateTimeToLiveRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateTimeToLiveRequest.Builder,UpdateTimeToLiveRequest>,DynamoDbRequest.Builder,SdkBuilder<UpdateTimeToLiveRequest.Builder,UpdateTimeToLiveRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateTimeToLiveRequest
@Mutable @NotThreadSafe public static interface UpdateTimeToLiveRequest.Builder extends DynamoDbRequest.Builder, SdkPojo, CopyableBuilder<UpdateTimeToLiveRequest.Builder,UpdateTimeToLiveRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateTimeToLiveRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateTimeToLiveRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateTimeToLiveRequest.BuildertableName(String tableName)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.UpdateTimeToLiveRequest.BuildertimeToLiveSpecification(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
tableName
UpdateTimeToLiveRequest.Builder tableName(String 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:
timeToLiveSpecification(TimeToLiveSpecification)
-
overrideConfiguration
UpdateTimeToLiveRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateTimeToLiveRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-