Cloneable
, ReadLimitInfo
, ToCopyableBuilder<RestoreDBClusterFromSnapshotRequest.Builder,RestoreDBClusterFromSnapshotRequest>
@Generated("software.amazon.awssdk:codegen") public class RestoreDBClusterFromSnapshotRequest extends AmazonWebServiceRequest implements ToCopyableBuilder<RestoreDBClusterFromSnapshotRequest.Builder,RestoreDBClusterFromSnapshotRequest>
Modifier and Type | Class | Description |
---|---|---|
static interface |
RestoreDBClusterFromSnapshotRequest.Builder |
NOOP
Modifier and Type | Method | Description |
---|---|---|
List<String> |
availabilityZones() |
Provides the list of EC2 Availability Zones that instances in the restored DB cluster can be created in.
|
static RestoreDBClusterFromSnapshotRequest.Builder |
builder() |
|
String |
databaseName() |
The database name for the restored DB cluster.
|
String |
dbClusterIdentifier() |
The name of the DB cluster to create from the DB cluster snapshot.
|
String |
dbSubnetGroupName() |
The name of the DB subnet group to use for the new DB cluster.
|
Boolean |
enableIAMDatabaseAuthentication() |
A Boolean value that is true to enable mapping of AWS Identity and Access Management (IAM) accounts to database
accounts, and otherwise false.
|
String |
engine() |
The database engine to use for the new DB cluster.
|
String |
engineVersion() |
The version of the database engine to use for the new DB cluster.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
String |
kmsKeyId() |
The KMS key identifier to use when restoring an encrypted DB cluster from a DB cluster snapshot.
|
String |
optionGroupName() |
The name of the option group to use for the restored DB cluster.
|
Integer |
port() |
The port number on which the new DB cluster accepts connections.
|
static Class<? extends RestoreDBClusterFromSnapshotRequest.Builder> |
serializableBuilderClass() |
|
String |
snapshotIdentifier() |
The identifier for the DB cluster snapshot to restore from.
|
List<Tag> |
tags() |
The tags to be assigned to the restored DB cluster.
|
RestoreDBClusterFromSnapshotRequest.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
|
List<String> |
vpcSecurityGroupIds() |
A list of VPC security groups that the new DB cluster will belong to.
|
clone, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout
public List<String> availabilityZones()
Provides the list of EC2 Availability Zones that instances in the restored DB cluster can be created in.
public String dbClusterIdentifier()
The name of the DB cluster to create from the DB cluster snapshot. This parameter isn't case-sensitive.
Constraints:
Must contain from 1 to 255 alphanumeric characters or hyphens
First character must be a letter
Cannot end with a hyphen or contain two consecutive hyphens
Example: my-snapshot-id
Constraints:
Must contain from 1 to 255 alphanumeric characters or hyphens
First character must be a letter
Cannot end with a hyphen or contain two consecutive hyphens
Example: my-snapshot-id
public String snapshotIdentifier()
The identifier for the DB cluster snapshot to restore from.
Constraints:
Must contain from 1 to 63 alphanumeric characters or hyphens
First character must be a letter
Cannot end with a hyphen or contain two consecutive hyphens
Constraints:
Must contain from 1 to 63 alphanumeric characters or hyphens
First character must be a letter
Cannot end with a hyphen or contain two consecutive hyphens
public String engine()
The database engine to use for the new DB cluster.
Default: The same as source
Constraint: Must be compatible with the engine of the source
Default: The same as source
Constraint: Must be compatible with the engine of the source
public String engineVersion()
The version of the database engine to use for the new DB cluster.
public Integer port()
The port number on which the new DB cluster accepts connections.
Constraints: Value must be 1150-65535
Default: The same port as the original DB cluster.
Constraints: Value must be 1150-65535
Default: The same port as the original DB cluster.
public String dbSubnetGroupName()
The name of the DB subnet group to use for the new DB cluster.
Constraints: Must contain no more than 255 alphanumeric characters, periods, underscores, spaces, or hyphens. Must not be default.
Example: mySubnetgroup
Constraints: Must contain no more than 255 alphanumeric characters, periods, underscores, spaces, or hyphens. Must not be default.
Example: mySubnetgroup
public String databaseName()
The database name for the restored DB cluster.
public String optionGroupName()
The name of the option group to use for the restored DB cluster.
public List<String> vpcSecurityGroupIds()
A list of VPC security groups that the new DB cluster will belong to.
public List<Tag> tags()
The tags to be assigned to the restored DB cluster.
public String kmsKeyId()
The KMS key identifier to use when restoring an encrypted DB cluster from a DB cluster snapshot.
The KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption key. If you are restoring a DB cluster with the same AWS account that owns the KMS encryption key used to encrypt the new DB cluster, then you can use the KMS key alias instead of the ARN for the KMS encryption key.
If you do not specify a value for the KmsKeyId
parameter, then the following will occur:
If the DB cluster snapshot is encrypted, then the restored DB cluster is encrypted using the KMS key that was used to encrypt the DB cluster snapshot.
If the DB cluster snapshot is not encrypted, then the restored DB cluster is encrypted using the specified encryption key.
The KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption key. If you are restoring a DB cluster with the same AWS account that owns the KMS encryption key used to encrypt the new DB cluster, then you can use the KMS key alias instead of the ARN for the KMS encryption key.
If you do not specify a value for the KmsKeyId
parameter, then the following will occur:
If the DB cluster snapshot is encrypted, then the restored DB cluster is encrypted using the KMS key that was used to encrypt the DB cluster snapshot.
If the DB cluster snapshot is not encrypted, then the restored DB cluster is encrypted using the specified encryption key.
public Boolean enableIAMDatabaseAuthentication()
A Boolean value that is true to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts, and otherwise false.
Default: false
Default: false
public RestoreDBClusterFromSnapshotRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<RestoreDBClusterFromSnapshotRequest.Builder,RestoreDBClusterFromSnapshotRequest>
public static RestoreDBClusterFromSnapshotRequest.Builder builder()
public static Class<? extends RestoreDBClusterFromSnapshotRequest.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.