public static interface UpdateTimeToLiveRequest.Builder extends DynamoDBRequest.Builder, CopyableBuilder<UpdateTimeToLiveRequest.Builder,UpdateTimeToLiveRequest>
Modifier and Type | Method and Description |
---|---|
UpdateTimeToLiveRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
UpdateTimeToLiveRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
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
copy
apply, build
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)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.UpdateTimeToLiveRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfig.Builder
will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.