Interface CreateDbBackupRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateDbBackupRequest.Builder,,CreateDbBackupRequest> SdkBuilder<CreateDbBackupRequest.Builder,,CreateDbBackupRequest> SdkPojo,SdkRequest.Builder,TimestreamInfluxDbRequest.Builder
- Enclosing class:
CreateDbBackupRequest
@Mutable
@NotThreadSafe
public static interface CreateDbBackupRequest.Builder
extends TimestreamInfluxDbRequest.Builder, SdkPojo, CopyableBuilder<CreateDbBackupRequest.Builder,CreateDbBackupRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondbResourceId(String dbResourceId) The id of the DB instance or DB cluster to back up.The name of the backup.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.retentionDays(Integer retentionDays) The number of days to retain the backup.A list of key-value pairs to associate with the backup.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.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.timestreaminfluxdb.model.TimestreamInfluxDbRequest.Builder
build
-
Method Details
-
name
The name of the backup. Must be unique within the account and region.
- Parameters:
name- The name of the backup. Must be unique within the account and region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbResourceId
The id of the DB instance or DB cluster to back up.
- Parameters:
dbResourceId- The id of the DB instance or DB cluster to back up.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retentionDays
The number of days to retain the backup. Valid values are 1 to 3650.
- Parameters:
retentionDays- The number of days to retain the backup. Valid values are 1 to 3650.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of key-value pairs to associate with the backup.
- Parameters:
tags- A list of key-value pairs to associate with the backup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateDbBackupRequest.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
CreateDbBackupRequest.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.
-