public static interface UpdateTimeToLiveRequest.Builder extends DynamoDBRequest.Builder, software.amazon.awssdk.utils.builder.CopyableBuilder<UpdateTimeToLiveRequest.Builder,UpdateTimeToLiveRequest>
Modifier and Type | Method and Description |
---|---|
UpdateTimeToLiveRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig) |
UpdateTimeToLiveRequest.Builder |
tableName(String tableName)
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.
|
UpdateTimeToLiveRequest.Builder |
timeToLiveSpecification(TimeToLiveSpecification timeToLiveSpecification)
Represents the settings used to enable or disable Time to Live for the specified table.
|
build
requestOverrideConfig, requestOverrideConfig
UpdateTimeToLiveRequest.Builder tableName(String tableName)
The name of the table to be configured.
tableName
- The name of the table to be configured.UpdateTimeToLiveRequest.Builder timeToLiveSpecification(TimeToLiveSpecification timeToLiveSpecification)
Represents the settings used to enable or disable Time to Live for the specified table.
timeToLiveSpecification
- Represents the settings used to enable or disable Time to Live for the specified table.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 that creates an instance of theTimeToLiveSpecification.Builder
avoiding the
need to create one manually via TimeToLiveSpecification.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to timeToLiveSpecification(TimeToLiveSpecification)
.timeToLiveSpecification
- a consumer that will call methods on TimeToLiveSpecification.Builder
timeToLiveSpecification(TimeToLiveSpecification)
UpdateTimeToLiveRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
requestOverrideConfig
in interface AwsRequest.Builder
Copyright © 2017. All rights reserved.