Interface DeleteRelationalDatabaseRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DeleteRelationalDatabaseRequest.Builder,,DeleteRelationalDatabaseRequest> LightsailRequest.Builder,SdkBuilder<DeleteRelationalDatabaseRequest.Builder,,DeleteRelationalDatabaseRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
DeleteRelationalDatabaseRequest
-
Method Summary
Modifier and TypeMethodDescriptionfinalRelationalDatabaseSnapshotName(String finalRelationalDatabaseSnapshotName) The name of the database snapshot created ifskip final snapshotisfalse, which is the default value for that parameter.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.relationalDatabaseName(String relationalDatabaseName) The name of the database that you are deleting.skipFinalSnapshot(Boolean skipFinalSnapshot) Determines whether a final database snapshot is created before your database is deleted.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.lightsail.model.LightsailRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
relationalDatabaseName
The name of the database that you are deleting.
- Parameters:
relationalDatabaseName- The name of the database that you are deleting.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
skipFinalSnapshot
Determines whether a final database snapshot is created before your database is deleted. If
trueis specified, no database snapshot is created. Iffalseis specified, a database snapshot is created before your database is deleted.You must specify the
final relational database snapshot nameparameter if theskip final snapshotparameter isfalse.Default:
false- Parameters:
skipFinalSnapshot- Determines whether a final database snapshot is created before your database is deleted. Iftrueis specified, no database snapshot is created. Iffalseis specified, a database snapshot is created before your database is deleted.You must specify the
final relational database snapshot nameparameter if theskip final snapshotparameter isfalse.Default:
false- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
finalRelationalDatabaseSnapshotName
DeleteRelationalDatabaseRequest.Builder finalRelationalDatabaseSnapshotName(String finalRelationalDatabaseSnapshotName) The name of the database snapshot created if
skip final snapshotisfalse, which is the default value for that parameter.Specifying this parameter and also specifying the
skip final snapshotparameter totrueresults in an error.Constraints:
-
Must contain from 2 to 255 alphanumeric characters, or hyphens.
-
The first and last character must be a letter or number.
- Parameters:
finalRelationalDatabaseSnapshotName- The name of the database snapshot created ifskip final snapshotisfalse, which is the default value for that parameter.Specifying this parameter and also specifying the
skip final snapshotparameter totrueresults in an error.Constraints:
-
Must contain from 2 to 255 alphanumeric characters, or hyphens.
-
The first and last character must be a letter or number.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
overrideConfiguration
DeleteRelationalDatabaseRequest.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
DeleteRelationalDatabaseRequest.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.
-