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 snapshot
isfalse
, 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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.lightsail.model.LightsailRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods 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
true
is specified, no database snapshot is created. Iffalse
is specified, a database snapshot is created before your database is deleted.You must specify the
final relational database snapshot name
parameter if theskip final snapshot
parameter isfalse
.Default:
false
- Parameters:
skipFinalSnapshot
- Determines whether a final database snapshot is created before your database is deleted. Iftrue
is specified, no database snapshot is created. Iffalse
is specified, a database snapshot is created before your database is deleted.You must specify the
final relational database snapshot name
parameter if theskip final snapshot
parameter 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 snapshot
isfalse
, which is the default value for that parameter.Specifying this parameter and also specifying the
skip final snapshot
parameter totrue
results 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 snapshot
isfalse
, which is the default value for that parameter.Specifying this parameter and also specifying the
skip final snapshot
parameter totrue
results 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-