Interface PutTableRecordExpirationConfigurationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<PutTableRecordExpirationConfigurationRequest.Builder,,PutTableRecordExpirationConfigurationRequest> S3TablesRequest.Builder,SdkBuilder<PutTableRecordExpirationConfigurationRequest.Builder,,PutTableRecordExpirationConfigurationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
PutTableRecordExpirationConfigurationRequest
@Mutable
@NotThreadSafe
public static interface PutTableRecordExpirationConfigurationRequest.Builder
extends S3TablesRequest.Builder, SdkPojo, CopyableBuilder<PutTableRecordExpirationConfigurationRequest.Builder,PutTableRecordExpirationConfigurationRequest>
-
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 Amazon Resource Name (ARN) of the table.The record expiration configuration to apply to the table, including the status (enabledordisabled) and retention period in days.The record expiration configuration to apply to the table, including the status (enabledordisabled) and retention period in days.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.s3tables.model.S3TablesRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
tableArn
The Amazon Resource Name (ARN) of the table.
- Parameters:
tableArn- The Amazon Resource Name (ARN) of the table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
PutTableRecordExpirationConfigurationRequest.Builder value(TableRecordExpirationConfigurationValue value) The record expiration configuration to apply to the table, including the status (
enabledordisabled) and retention period in days.- Parameters:
value- The record expiration configuration to apply to the table, including the status (enabledordisabled) and retention period in days.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
default PutTableRecordExpirationConfigurationRequest.Builder value(Consumer<TableRecordExpirationConfigurationValue.Builder> value) The record expiration configuration to apply to the table, including the status (
This is a convenience method that creates an instance of theenabledordisabled) and retention period in days.TableRecordExpirationConfigurationValue.Builderavoiding the need to create one manually viaTableRecordExpirationConfigurationValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovalue(TableRecordExpirationConfigurationValue).- Parameters:
value- a consumer that will call methods onTableRecordExpirationConfigurationValue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
PutTableRecordExpirationConfigurationRequest.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
PutTableRecordExpirationConfigurationRequest.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.
-