public static interface RelationalDatabase.Builder extends SdkPojo, CopyableBuilder<RelationalDatabase.Builder,RelationalDatabase>
Modifier and Type | Method and Description |
---|---|
RelationalDatabase.Builder |
arn(String arn)
The Amazon Resource Name (ARN) of the database.
|
RelationalDatabase.Builder |
backupRetentionEnabled(Boolean backupRetentionEnabled)
A Boolean value indicating whether automated backup retention is enabled for the database.
|
RelationalDatabase.Builder |
createdAt(Instant createdAt)
The timestamp when the database was created.
|
RelationalDatabase.Builder |
engine(String engine)
The database software (for example,
MySQL ). |
RelationalDatabase.Builder |
engineVersion(String engineVersion)
The database engine version (for example,
5.7.23 ). |
default RelationalDatabase.Builder |
hardware(Consumer<RelationalDatabaseHardware.Builder> hardware)
Describes the hardware of the database.
|
RelationalDatabase.Builder |
hardware(RelationalDatabaseHardware hardware)
Describes the hardware of the database.
|
RelationalDatabase.Builder |
latestRestorableTime(Instant latestRestorableTime)
The latest point in time to which the database can be restored.
|
default RelationalDatabase.Builder |
location(Consumer<ResourceLocation.Builder> location)
The Region name and Availability Zone where the database is located.
|
RelationalDatabase.Builder |
location(ResourceLocation location)
The Region name and Availability Zone where the database is located.
|
RelationalDatabase.Builder |
masterDatabaseName(String masterDatabaseName)
The name of the master database created when the Lightsail database resource is created.
|
default RelationalDatabase.Builder |
masterEndpoint(Consumer<RelationalDatabaseEndpoint.Builder> masterEndpoint)
The master endpoint for the database.
|
RelationalDatabase.Builder |
masterEndpoint(RelationalDatabaseEndpoint masterEndpoint)
The master endpoint for the database.
|
RelationalDatabase.Builder |
masterUsername(String masterUsername)
The master user name of the database.
|
RelationalDatabase.Builder |
name(String name)
The unique name of the database resource in Lightsail.
|
RelationalDatabase.Builder |
parameterApplyStatus(String parameterApplyStatus)
The status of parameter updates for the database.
|
RelationalDatabase.Builder |
pendingMaintenanceActions(Collection<PendingMaintenanceAction> pendingMaintenanceActions)
Describes the pending maintenance actions for the database.
|
RelationalDatabase.Builder |
pendingMaintenanceActions(Consumer<PendingMaintenanceAction.Builder>... pendingMaintenanceActions)
Describes the pending maintenance actions for the database.
|
RelationalDatabase.Builder |
pendingMaintenanceActions(PendingMaintenanceAction... pendingMaintenanceActions)
Describes the pending maintenance actions for the database.
|
default RelationalDatabase.Builder |
pendingModifiedValues(Consumer<PendingModifiedRelationalDatabaseValues.Builder> pendingModifiedValues)
Describes pending database value modifications.
|
RelationalDatabase.Builder |
pendingModifiedValues(PendingModifiedRelationalDatabaseValues pendingModifiedValues)
Describes pending database value modifications.
|
RelationalDatabase.Builder |
preferredBackupWindow(String preferredBackupWindow)
The daily time range during which automated backups are created for the database (for example,
16:00-16:30 ). |
RelationalDatabase.Builder |
preferredMaintenanceWindow(String preferredMaintenanceWindow)
The weekly time range during which system maintenance can occur on the database.
|
RelationalDatabase.Builder |
publiclyAccessible(Boolean publiclyAccessible)
A Boolean value indicating whether the database is publicly accessible.
|
RelationalDatabase.Builder |
relationalDatabaseBlueprintId(String relationalDatabaseBlueprintId)
The blueprint ID for the database.
|
RelationalDatabase.Builder |
relationalDatabaseBundleId(String relationalDatabaseBundleId)
The bundle ID for the database.
|
RelationalDatabase.Builder |
resourceType(ResourceType resourceType)
The Lightsail resource type for the database (for example,
RelationalDatabase ). |
RelationalDatabase.Builder |
resourceType(String resourceType)
The Lightsail resource type for the database (for example,
RelationalDatabase ). |
RelationalDatabase.Builder |
secondaryAvailabilityZone(String secondaryAvailabilityZone)
Describes the secondary Availability Zone of a high availability database.
|
RelationalDatabase.Builder |
state(String state)
Describes the current state of the database.
|
RelationalDatabase.Builder |
supportCode(String supportCode)
The support code for the database.
|
RelationalDatabase.Builder |
tags(Collection<Tag> tags)
The tag keys and optional values for the resource.
|
RelationalDatabase.Builder |
tags(Consumer<Tag.Builder>... tags)
The tag keys and optional values for the resource.
|
RelationalDatabase.Builder |
tags(Tag... tags)
The tag keys and optional values for the resource.
|
copy
applyMutation, build
RelationalDatabase.Builder name(String name)
The unique name of the database resource in Lightsail.
name
- The unique name of the database resource in Lightsail.RelationalDatabase.Builder arn(String arn)
The Amazon Resource Name (ARN) of the database.
arn
- The Amazon Resource Name (ARN) of the database.RelationalDatabase.Builder supportCode(String supportCode)
The support code for the database. Include this code in your email to support when you have questions about a database in Lightsail. This code enables our support team to look up your Lightsail information more easily.
supportCode
- The support code for the database. Include this code in your email to support when you have questions
about a database in Lightsail. This code enables our support team to look up your Lightsail
information more easily.RelationalDatabase.Builder createdAt(Instant createdAt)
The timestamp when the database was created. Formatted in Unix time.
createdAt
- The timestamp when the database was created. Formatted in Unix time.RelationalDatabase.Builder location(ResourceLocation location)
The Region name and Availability Zone where the database is located.
location
- The Region name and Availability Zone where the database is located.default RelationalDatabase.Builder location(Consumer<ResourceLocation.Builder> location)
The Region name and Availability Zone where the database 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)
RelationalDatabase.Builder resourceType(String resourceType)
The Lightsail resource type for the database (for example, RelationalDatabase
).
resourceType
- The Lightsail resource type for the database (for example, RelationalDatabase
).ResourceType
,
ResourceType
RelationalDatabase.Builder resourceType(ResourceType resourceType)
The Lightsail resource type for the database (for example, RelationalDatabase
).
resourceType
- The Lightsail resource type for the database (for example, RelationalDatabase
).ResourceType
,
ResourceType
RelationalDatabase.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.RelationalDatabase.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.RelationalDatabase.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)
RelationalDatabase.Builder relationalDatabaseBlueprintId(String relationalDatabaseBlueprintId)
The blueprint ID for the database. A blueprint describes the major engine version of a database.
relationalDatabaseBlueprintId
- The blueprint ID for the database. A blueprint describes the major engine version of a database.RelationalDatabase.Builder relationalDatabaseBundleId(String relationalDatabaseBundleId)
The bundle ID for the database. A bundle describes the performance specifications for your database.
relationalDatabaseBundleId
- The bundle ID for the database. A bundle describes the performance specifications for your database.RelationalDatabase.Builder masterDatabaseName(String masterDatabaseName)
The name of the master database created when the Lightsail database resource is created.
masterDatabaseName
- The name of the master database created when the Lightsail database resource is created.RelationalDatabase.Builder hardware(RelationalDatabaseHardware hardware)
Describes the hardware of the database.
hardware
- Describes the hardware of the database.default RelationalDatabase.Builder hardware(Consumer<RelationalDatabaseHardware.Builder> hardware)
Describes the hardware of the database.
This is a convenience that creates an instance of theRelationalDatabaseHardware.Builder
avoiding the
need to create one manually via RelationalDatabaseHardware.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to hardware(RelationalDatabaseHardware)
.hardware
- a consumer that will call methods on RelationalDatabaseHardware.Builder
hardware(RelationalDatabaseHardware)
RelationalDatabase.Builder state(String state)
Describes the current state of the database.
state
- Describes the current state of the database.RelationalDatabase.Builder secondaryAvailabilityZone(String secondaryAvailabilityZone)
Describes the secondary Availability Zone of a high availability database.
The secondary database is used for failover support of a high availability database.
secondaryAvailabilityZone
- Describes the secondary Availability Zone of a high availability database.
The secondary database is used for failover support of a high availability database.
RelationalDatabase.Builder backupRetentionEnabled(Boolean backupRetentionEnabled)
A Boolean value indicating whether automated backup retention is enabled for the database.
backupRetentionEnabled
- A Boolean value indicating whether automated backup retention is enabled for the database.RelationalDatabase.Builder pendingModifiedValues(PendingModifiedRelationalDatabaseValues pendingModifiedValues)
Describes pending database value modifications.
pendingModifiedValues
- Describes pending database value modifications.default RelationalDatabase.Builder pendingModifiedValues(Consumer<PendingModifiedRelationalDatabaseValues.Builder> pendingModifiedValues)
Describes pending database value modifications.
This is a convenience that creates an instance of thePendingModifiedRelationalDatabaseValues.Builder
avoiding the need to create one manually via PendingModifiedRelationalDatabaseValues.builder()
.
When the Consumer
completes, SdkBuilder.build()
is
called immediately and its result is passed to
pendingModifiedValues(PendingModifiedRelationalDatabaseValues)
.pendingModifiedValues
- a consumer that will call methods on PendingModifiedRelationalDatabaseValues.Builder
pendingModifiedValues(PendingModifiedRelationalDatabaseValues)
RelationalDatabase.Builder engine(String engine)
The database software (for example, MySQL
).
engine
- The database software (for example, MySQL
).RelationalDatabase.Builder engineVersion(String engineVersion)
The database engine version (for example, 5.7.23
).
engineVersion
- The database engine version (for example, 5.7.23
).RelationalDatabase.Builder latestRestorableTime(Instant latestRestorableTime)
The latest point in time to which the database can be restored. Formatted in Unix time.
latestRestorableTime
- The latest point in time to which the database can be restored. Formatted in Unix time.RelationalDatabase.Builder masterUsername(String masterUsername)
The master user name of the database.
masterUsername
- The master user name of the database.RelationalDatabase.Builder parameterApplyStatus(String parameterApplyStatus)
The status of parameter updates for the database.
parameterApplyStatus
- The status of parameter updates for the database.RelationalDatabase.Builder preferredBackupWindow(String preferredBackupWindow)
The daily time range during which automated backups are created for the database (for example,
16:00-16:30
).
preferredBackupWindow
- The daily time range during which automated backups are created for the database (for example,
16:00-16:30
).RelationalDatabase.Builder preferredMaintenanceWindow(String preferredMaintenanceWindow)
The weekly time range during which system maintenance can occur on the database.
In the format ddd:hh24:mi-ddd:hh24:mi
. For example, Tue:17:00-Tue:17:30
.
preferredMaintenanceWindow
- The weekly time range during which system maintenance can occur on the database.
In the format ddd:hh24:mi-ddd:hh24:mi
. For example, Tue:17:00-Tue:17:30
.
RelationalDatabase.Builder publiclyAccessible(Boolean publiclyAccessible)
A Boolean value indicating whether the database is publicly accessible.
publiclyAccessible
- A Boolean value indicating whether the database is publicly accessible.RelationalDatabase.Builder masterEndpoint(RelationalDatabaseEndpoint masterEndpoint)
The master endpoint for the database.
masterEndpoint
- The master endpoint for the database.default RelationalDatabase.Builder masterEndpoint(Consumer<RelationalDatabaseEndpoint.Builder> masterEndpoint)
The master endpoint for the database.
This is a convenience that creates an instance of theRelationalDatabaseEndpoint.Builder
avoiding the
need to create one manually via RelationalDatabaseEndpoint.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to masterEndpoint(RelationalDatabaseEndpoint)
.masterEndpoint
- a consumer that will call methods on RelationalDatabaseEndpoint.Builder
masterEndpoint(RelationalDatabaseEndpoint)
RelationalDatabase.Builder pendingMaintenanceActions(Collection<PendingMaintenanceAction> pendingMaintenanceActions)
Describes the pending maintenance actions for the database.
pendingMaintenanceActions
- Describes the pending maintenance actions for the database.RelationalDatabase.Builder pendingMaintenanceActions(PendingMaintenanceAction... pendingMaintenanceActions)
Describes the pending maintenance actions for the database.
pendingMaintenanceActions
- Describes the pending maintenance actions for the database.RelationalDatabase.Builder pendingMaintenanceActions(Consumer<PendingMaintenanceAction.Builder>... pendingMaintenanceActions)
Describes the pending maintenance actions for the database.
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 #pendingMaintenanceActions(List)
.pendingMaintenanceActions
- a consumer that will call methods on List.Builder
#pendingMaintenanceActions(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.