public static interface RelationalDatabaseSnapshot.Builder extends SdkPojo, CopyableBuilder<RelationalDatabaseSnapshot.Builder,RelationalDatabaseSnapshot>
Modifier and Type | Method and Description |
---|---|
RelationalDatabaseSnapshot.Builder |
arn(String arn)
The Amazon Resource Name (ARN) of the database snapshot.
|
RelationalDatabaseSnapshot.Builder |
createdAt(Instant createdAt)
The timestamp when the database snapshot was created.
|
RelationalDatabaseSnapshot.Builder |
engine(String engine)
The software of the database snapshot (for example,
MySQL ) |
RelationalDatabaseSnapshot.Builder |
engineVersion(String engineVersion)
The database engine version for the database snapshot (for example,
5.7.23 ). |
RelationalDatabaseSnapshot.Builder |
fromRelationalDatabaseArn(String fromRelationalDatabaseArn)
The Amazon Resource Name (ARN) of the database from which the database snapshot was created.
|
RelationalDatabaseSnapshot.Builder |
fromRelationalDatabaseBlueprintId(String fromRelationalDatabaseBlueprintId)
The blueprint ID of the database from which the database snapshot was created.
|
RelationalDatabaseSnapshot.Builder |
fromRelationalDatabaseBundleId(String fromRelationalDatabaseBundleId)
The bundle ID of the database from which the database snapshot was created.
|
RelationalDatabaseSnapshot.Builder |
fromRelationalDatabaseName(String fromRelationalDatabaseName)
The name of the source database from which the database snapshot was created.
|
default RelationalDatabaseSnapshot.Builder |
location(Consumer<ResourceLocation.Builder> location)
The Region name and Availability Zone where the database snapshot is located.
|
RelationalDatabaseSnapshot.Builder |
location(ResourceLocation location)
The Region name and Availability Zone where the database snapshot is located.
|
RelationalDatabaseSnapshot.Builder |
name(String name)
The name of the database snapshot.
|
RelationalDatabaseSnapshot.Builder |
resourceType(ResourceType resourceType)
The Lightsail resource type.
|
RelationalDatabaseSnapshot.Builder |
resourceType(String resourceType)
The Lightsail resource type.
|
RelationalDatabaseSnapshot.Builder |
sizeInGb(Integer sizeInGb)
The size of the disk in GB (for example,
32 ) for the database snapshot. |
RelationalDatabaseSnapshot.Builder |
state(String state)
The state of the database snapshot.
|
RelationalDatabaseSnapshot.Builder |
supportCode(String supportCode)
The support code for the database snapshot.
|
RelationalDatabaseSnapshot.Builder |
tags(Collection<Tag> tags)
The tag keys and optional values for the resource.
|
RelationalDatabaseSnapshot.Builder |
tags(Consumer<Tag.Builder>... tags)
The tag keys and optional values for the resource.
|
RelationalDatabaseSnapshot.Builder |
tags(Tag... tags)
The tag keys and optional values for the resource.
|
copy
applyMutation, build
RelationalDatabaseSnapshot.Builder name(String name)
The name of the database snapshot.
name
- The name of the database snapshot.RelationalDatabaseSnapshot.Builder arn(String arn)
The Amazon Resource Name (ARN) of the database snapshot.
arn
- The Amazon Resource Name (ARN) of the database snapshot.RelationalDatabaseSnapshot.Builder supportCode(String supportCode)
The support code for the database snapshot. Include this code in your email to support when you have questions about a database snapshot in Lightsail. This code enables our support team to look up your Lightsail information more easily.
supportCode
- The support code for the database snapshot. Include this code in your email to support when you have
questions about a database snapshot in Lightsail. This code enables our support team to look up your
Lightsail information more easily.RelationalDatabaseSnapshot.Builder createdAt(Instant createdAt)
The timestamp when the database snapshot was created.
createdAt
- The timestamp when the database snapshot was created.RelationalDatabaseSnapshot.Builder location(ResourceLocation location)
The Region name and Availability Zone where the database snapshot is located.
location
- The Region name and Availability Zone where the database snapshot is located.default RelationalDatabaseSnapshot.Builder location(Consumer<ResourceLocation.Builder> location)
The Region name and Availability Zone where the database snapshot is located.
This is a convenience that creates an instance of theResourceLocation.Builder
avoiding the need to
create one manually via ResourceLocation.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to location(ResourceLocation)
.location
- a consumer that will call methods on ResourceLocation.Builder
location(ResourceLocation)
RelationalDatabaseSnapshot.Builder resourceType(String resourceType)
The Lightsail resource type.
resourceType
- The Lightsail resource type.ResourceType
,
ResourceType
RelationalDatabaseSnapshot.Builder resourceType(ResourceType resourceType)
The Lightsail resource type.
resourceType
- The Lightsail resource type.ResourceType
,
ResourceType
RelationalDatabaseSnapshot.Builder tags(Collection<Tag> tags)
The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Lightsail Dev Guide.
tags
- The tag keys and optional values for the resource. For more information about tags in Lightsail, see
the Lightsail Dev
Guide.RelationalDatabaseSnapshot.Builder tags(Tag... tags)
The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Lightsail Dev Guide.
tags
- The tag keys and optional values for the resource. For more information about tags in Lightsail, see
the Lightsail Dev
Guide.RelationalDatabaseSnapshot.Builder tags(Consumer<Tag.Builder>... tags)
The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Lightsail Dev Guide.
This is a convenience that creates an instance of theList.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)
RelationalDatabaseSnapshot.Builder engine(String engine)
The software of the database snapshot (for example, MySQL
)
engine
- The software of the database snapshot (for example, MySQL
)RelationalDatabaseSnapshot.Builder engineVersion(String engineVersion)
The database engine version for the database snapshot (for example, 5.7.23
).
engineVersion
- The database engine version for the database snapshot (for example, 5.7.23
).RelationalDatabaseSnapshot.Builder sizeInGb(Integer sizeInGb)
The size of the disk in GB (for example, 32
) for the database snapshot.
sizeInGb
- The size of the disk in GB (for example, 32
) for the database snapshot.RelationalDatabaseSnapshot.Builder state(String state)
The state of the database snapshot.
state
- The state of the database snapshot.RelationalDatabaseSnapshot.Builder fromRelationalDatabaseName(String fromRelationalDatabaseName)
The name of the source database from which the database snapshot was created.
fromRelationalDatabaseName
- The name of the source database from which the database snapshot was created.RelationalDatabaseSnapshot.Builder fromRelationalDatabaseArn(String fromRelationalDatabaseArn)
The Amazon Resource Name (ARN) of the database from which the database snapshot was created.
fromRelationalDatabaseArn
- The Amazon Resource Name (ARN) of the database from which the database snapshot was created.RelationalDatabaseSnapshot.Builder fromRelationalDatabaseBundleId(String fromRelationalDatabaseBundleId)
The bundle ID of the database from which the database snapshot was created.
fromRelationalDatabaseBundleId
- The bundle ID of the database from which the database snapshot was created.RelationalDatabaseSnapshot.Builder fromRelationalDatabaseBlueprintId(String fromRelationalDatabaseBlueprintId)
The blueprint ID of the database from which the database snapshot was created. A blueprint describes the major engine version of a database.
fromRelationalDatabaseBlueprintId
- The blueprint ID of the database from which the database snapshot was created. A blueprint describes
the major engine version of a database.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.