public static interface CreateRelationalDatabaseSnapshotRequest.Builder extends LightsailRequest.Builder, SdkPojo, CopyableBuilder<CreateRelationalDatabaseSnapshotRequest.Builder,CreateRelationalDatabaseSnapshotRequest>
Modifier and Type | Method and Description |
---|---|
CreateRelationalDatabaseSnapshotRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateRelationalDatabaseSnapshotRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateRelationalDatabaseSnapshotRequest.Builder |
relationalDatabaseName(String relationalDatabaseName)
The name of the database on which to base your new snapshot.
|
CreateRelationalDatabaseSnapshotRequest.Builder |
relationalDatabaseSnapshotName(String relationalDatabaseSnapshotName)
The name for your new database snapshot.
|
CreateRelationalDatabaseSnapshotRequest.Builder |
tags(Collection<Tag> tags)
The tag keys and optional values to add to the resource during create.
|
CreateRelationalDatabaseSnapshotRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
The tag keys and optional values to add to the resource during create.
|
CreateRelationalDatabaseSnapshotRequest.Builder |
tags(Tag... tags)
The tag keys and optional values to add to the resource during create.
|
build
overrideConfiguration
copy
applyMutation, build
CreateRelationalDatabaseSnapshotRequest.Builder relationalDatabaseName(String relationalDatabaseName)
The name of the database on which to base your new snapshot.
relationalDatabaseName
- The name of the database on which to base your new snapshot.CreateRelationalDatabaseSnapshotRequest.Builder relationalDatabaseSnapshotName(String relationalDatabaseSnapshotName)
The name for your new database snapshot.
Constraints:
Must contain from 2 to 255 alphanumeric characters, or hyphens.
The first and last character must be a letter or number.
relationalDatabaseSnapshotName
- The name for your new database snapshot.
Constraints:
Must contain from 2 to 255 alphanumeric characters, or hyphens.
The first and last character must be a letter or number.
CreateRelationalDatabaseSnapshotRequest.Builder tags(Collection<Tag> tags)
The tag keys and optional values to add to the resource during create.
To tag a resource after it has been created, see the tag resource
operation.
tags
- The tag keys and optional values to add to the resource during create.
To tag a resource after it has been created, see the tag resource
operation.
CreateRelationalDatabaseSnapshotRequest.Builder tags(Tag... tags)
The tag keys and optional values to add to the resource during create.
To tag a resource after it has been created, see the tag resource
operation.
tags
- The tag keys and optional values to add to the resource during create.
To tag a resource after it has been created, see the tag resource
operation.
CreateRelationalDatabaseSnapshotRequest.Builder tags(Consumer<Tag.Builder>... tags)
The tag keys and optional values to add to the resource during create.
To tag a resource after it has been created, see the tag resource
operation.
List.Builder
avoiding the need to create
one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its result
is passed to #tags(List)
.tags
- a consumer that will call methods on List.Builder
#tags(List)
CreateRelationalDatabaseSnapshotRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateRelationalDatabaseSnapshotRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.