public class DBCluster
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the result of a successful invocation of the following actions:
This data type is used as a response element in the DescribeDBClusters action.
Modifier and Type | Field and Description |
---|---|
private java.lang.Integer |
allocatedStorage
Specifies the allocated storage size in gigabytes (GB).
|
private SdkInternalList<java.lang.String> |
availabilityZones
Provides the list of EC2 Availability Zones that instances in the DB
cluster can be created in.
|
private java.lang.Integer |
backupRetentionPeriod
Specifies the number of days for which automatic DB snapshots are
retained.
|
private java.lang.String |
characterSetName
If present, specifies the name of the character set that this cluster is
associated with.
|
private java.lang.String |
databaseName
Contains the name of the initial database of this DB cluster that was
provided at create time, if one was specified when the DB cluster was
created.
|
private java.lang.String |
dBClusterIdentifier
Contains a user-supplied DB cluster identifier.
|
private SdkInternalList<DBClusterMember> |
dBClusterMembers
Provides the list of instances that make up the DB cluster.
|
private SdkInternalList<DBClusterOptionGroupStatus> |
dBClusterOptionGroupMemberships
Provides the list of option group memberships for this DB cluster.
|
private java.lang.String |
dBClusterParameterGroup
Specifies the name of the DB cluster parameter group for the DB cluster.
|
private java.lang.String |
dbClusterResourceId
The region-unique, immutable identifier for the DB cluster.
|
private java.lang.String |
dBSubnetGroup
Specifies information on the subnet group associated with the DB cluster,
including the name, description, and subnets in the subnet group.
|
private java.util.Date |
earliestRestorableTime
Specifies the earliest time to which a database can be restored with
point-in-time restore.
|
private java.lang.String |
endpoint
Specifies the connection endpoint for the primary instance of the DB
cluster.
|
private java.lang.String |
engine
Provides the name of the database engine to be used for this DB cluster.
|
private java.lang.String |
engineVersion
Indicates the database engine version.
|
private java.lang.String |
hostedZoneId
Specifies the ID that Amazon Route 53 assigns when you create a hosted
zone.
|
private java.lang.String |
kmsKeyId
If
StorageEncrypted is true, the KMS key identifier for the
encrypted DB cluster. |
private java.util.Date |
latestRestorableTime
Specifies the latest time to which a database can be restored with
point-in-time restore.
|
private java.lang.String |
masterUsername
Contains the master username for the DB cluster.
|
private java.lang.String |
percentProgress
Specifies the progress of the operation as a percentage.
|
private java.lang.Integer |
port
Specifies the port that the database engine is listening on.
|
private java.lang.String |
preferredBackupWindow
Specifies the daily time range during which automated backups are created
if automated backups are enabled, as determined by the
BackupRetentionPeriod . |
private java.lang.String |
preferredMaintenanceWindow
Specifies the weekly time range during which system maintenance can
occur, in Universal Coordinated Time (UTC).
|
private java.lang.String |
status
Specifies the current state of this DB cluster.
|
private java.lang.Boolean |
storageEncrypted
Specifies whether the DB cluster is encrypted.
|
private SdkInternalList<VpcSecurityGroupMembership> |
vpcSecurityGroups
Provides a list of VPC security groups that the DB cluster belongs to.
|
Constructor and Description |
---|
DBCluster() |
Modifier and Type | Method and Description |
---|---|
DBCluster |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getAllocatedStorage()
Specifies the allocated storage size in gigabytes (GB).
|
java.util.List<java.lang.String> |
getAvailabilityZones()
Provides the list of EC2 Availability Zones that instances in the DB
cluster can be created in.
|
java.lang.Integer |
getBackupRetentionPeriod()
Specifies the number of days for which automatic DB snapshots are
retained.
|
java.lang.String |
getCharacterSetName()
If present, specifies the name of the character set that this cluster is
associated with.
|
java.lang.String |
getDatabaseName()
Contains the name of the initial database of this DB cluster that was
provided at create time, if one was specified when the DB cluster was
created.
|
java.lang.String |
getDBClusterIdentifier()
Contains a user-supplied DB cluster identifier.
|
java.util.List<DBClusterMember> |
getDBClusterMembers()
Provides the list of instances that make up the DB cluster.
|
java.util.List<DBClusterOptionGroupStatus> |
getDBClusterOptionGroupMemberships()
Provides the list of option group memberships for this DB cluster.
|
java.lang.String |
getDBClusterParameterGroup()
Specifies the name of the DB cluster parameter group for the DB cluster.
|
java.lang.String |
getDbClusterResourceId()
The region-unique, immutable identifier for the DB cluster.
|
java.lang.String |
getDBSubnetGroup()
Specifies information on the subnet group associated with the DB cluster,
including the name, description, and subnets in the subnet group.
|
java.util.Date |
getEarliestRestorableTime()
Specifies the earliest time to which a database can be restored with
point-in-time restore.
|
java.lang.String |
getEndpoint()
Specifies the connection endpoint for the primary instance of the DB
cluster.
|
java.lang.String |
getEngine()
Provides the name of the database engine to be used for this DB cluster.
|
java.lang.String |
getEngineVersion()
Indicates the database engine version.
|
java.lang.String |
getHostedZoneId()
Specifies the ID that Amazon Route 53 assigns when you create a hosted
zone.
|
java.lang.String |
getKmsKeyId()
If
StorageEncrypted is true, the KMS key identifier for the
encrypted DB cluster. |
java.util.Date |
getLatestRestorableTime()
Specifies the latest time to which a database can be restored with
point-in-time restore.
|
java.lang.String |
getMasterUsername()
Contains the master username for the DB cluster.
|
java.lang.String |
getPercentProgress()
Specifies the progress of the operation as a percentage.
|
java.lang.Integer |
getPort()
Specifies the port that the database engine is listening on.
|
java.lang.String |
getPreferredBackupWindow()
Specifies the daily time range during which automated backups are created
if automated backups are enabled, as determined by the
BackupRetentionPeriod . |
java.lang.String |
getPreferredMaintenanceWindow()
Specifies the weekly time range during which system maintenance can
occur, in Universal Coordinated Time (UTC).
|
java.lang.String |
getStatus()
Specifies the current state of this DB cluster.
|
java.lang.Boolean |
getStorageEncrypted()
Specifies whether the DB cluster is encrypted.
|
java.util.List<VpcSecurityGroupMembership> |
getVpcSecurityGroups()
Provides a list of VPC security groups that the DB cluster belongs to.
|
int |
hashCode() |
java.lang.Boolean |
isStorageEncrypted()
Specifies whether the DB cluster is encrypted.
|
void |
setAllocatedStorage(java.lang.Integer allocatedStorage)
Specifies the allocated storage size in gigabytes (GB).
|
void |
setAvailabilityZones(java.util.Collection<java.lang.String> availabilityZones)
Provides the list of EC2 Availability Zones that instances in the DB
cluster can be created in.
|
void |
setBackupRetentionPeriod(java.lang.Integer backupRetentionPeriod)
Specifies the number of days for which automatic DB snapshots are
retained.
|
void |
setCharacterSetName(java.lang.String characterSetName)
If present, specifies the name of the character set that this cluster is
associated with.
|
void |
setDatabaseName(java.lang.String databaseName)
Contains the name of the initial database of this DB cluster that was
provided at create time, if one was specified when the DB cluster was
created.
|
void |
setDBClusterIdentifier(java.lang.String dBClusterIdentifier)
Contains a user-supplied DB cluster identifier.
|
void |
setDBClusterMembers(java.util.Collection<DBClusterMember> dBClusterMembers)
Provides the list of instances that make up the DB cluster.
|
void |
setDBClusterOptionGroupMemberships(java.util.Collection<DBClusterOptionGroupStatus> dBClusterOptionGroupMemberships)
Provides the list of option group memberships for this DB cluster.
|
void |
setDBClusterParameterGroup(java.lang.String dBClusterParameterGroup)
Specifies the name of the DB cluster parameter group for the DB cluster.
|
void |
setDbClusterResourceId(java.lang.String dbClusterResourceId)
The region-unique, immutable identifier for the DB cluster.
|
void |
setDBSubnetGroup(java.lang.String dBSubnetGroup)
Specifies information on the subnet group associated with the DB cluster,
including the name, description, and subnets in the subnet group.
|
void |
setEarliestRestorableTime(java.util.Date earliestRestorableTime)
Specifies the earliest time to which a database can be restored with
point-in-time restore.
|
void |
setEndpoint(java.lang.String endpoint)
Specifies the connection endpoint for the primary instance of the DB
cluster.
|
void |
setEngine(java.lang.String engine)
Provides the name of the database engine to be used for this DB cluster.
|
void |
setEngineVersion(java.lang.String engineVersion)
Indicates the database engine version.
|
void |
setHostedZoneId(java.lang.String hostedZoneId)
Specifies the ID that Amazon Route 53 assigns when you create a hosted
zone.
|
void |
setKmsKeyId(java.lang.String kmsKeyId)
If
StorageEncrypted is true, the KMS key identifier for the
encrypted DB cluster. |
void |
setLatestRestorableTime(java.util.Date latestRestorableTime)
Specifies the latest time to which a database can be restored with
point-in-time restore.
|
void |
setMasterUsername(java.lang.String masterUsername)
Contains the master username for the DB cluster.
|
void |
setPercentProgress(java.lang.String percentProgress)
Specifies the progress of the operation as a percentage.
|
void |
setPort(java.lang.Integer port)
Specifies the port that the database engine is listening on.
|
void |
setPreferredBackupWindow(java.lang.String preferredBackupWindow)
Specifies the daily time range during which automated backups are created
if automated backups are enabled, as determined by the
BackupRetentionPeriod . |
void |
setPreferredMaintenanceWindow(java.lang.String preferredMaintenanceWindow)
Specifies the weekly time range during which system maintenance can
occur, in Universal Coordinated Time (UTC).
|
void |
setStatus(java.lang.String status)
Specifies the current state of this DB cluster.
|
void |
setStorageEncrypted(java.lang.Boolean storageEncrypted)
Specifies whether the DB cluster is encrypted.
|
void |
setVpcSecurityGroups(java.util.Collection<VpcSecurityGroupMembership> vpcSecurityGroups)
Provides a list of VPC security groups that the DB cluster belongs to.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DBCluster |
withAllocatedStorage(java.lang.Integer allocatedStorage)
Specifies the allocated storage size in gigabytes (GB).
|
DBCluster |
withAvailabilityZones(java.util.Collection<java.lang.String> availabilityZones)
Provides the list of EC2 Availability Zones that instances in the DB
cluster can be created in.
|
DBCluster |
withAvailabilityZones(java.lang.String... availabilityZones)
Provides the list of EC2 Availability Zones that instances in the DB
cluster can be created in.
|
DBCluster |
withBackupRetentionPeriod(java.lang.Integer backupRetentionPeriod)
Specifies the number of days for which automatic DB snapshots are
retained.
|
DBCluster |
withCharacterSetName(java.lang.String characterSetName)
If present, specifies the name of the character set that this cluster is
associated with.
|
DBCluster |
withDatabaseName(java.lang.String databaseName)
Contains the name of the initial database of this DB cluster that was
provided at create time, if one was specified when the DB cluster was
created.
|
DBCluster |
withDBClusterIdentifier(java.lang.String dBClusterIdentifier)
Contains a user-supplied DB cluster identifier.
|
DBCluster |
withDBClusterMembers(java.util.Collection<DBClusterMember> dBClusterMembers)
Provides the list of instances that make up the DB cluster.
|
DBCluster |
withDBClusterMembers(DBClusterMember... dBClusterMembers)
Provides the list of instances that make up the DB cluster.
|
DBCluster |
withDBClusterOptionGroupMemberships(java.util.Collection<DBClusterOptionGroupStatus> dBClusterOptionGroupMemberships)
Provides the list of option group memberships for this DB cluster.
|
DBCluster |
withDBClusterOptionGroupMemberships(DBClusterOptionGroupStatus... dBClusterOptionGroupMemberships)
Provides the list of option group memberships for this DB cluster.
|
DBCluster |
withDBClusterParameterGroup(java.lang.String dBClusterParameterGroup)
Specifies the name of the DB cluster parameter group for the DB cluster.
|
DBCluster |
withDbClusterResourceId(java.lang.String dbClusterResourceId)
The region-unique, immutable identifier for the DB cluster.
|
DBCluster |
withDBSubnetGroup(java.lang.String dBSubnetGroup)
Specifies information on the subnet group associated with the DB cluster,
including the name, description, and subnets in the subnet group.
|
DBCluster |
withEarliestRestorableTime(java.util.Date earliestRestorableTime)
Specifies the earliest time to which a database can be restored with
point-in-time restore.
|
DBCluster |
withEndpoint(java.lang.String endpoint)
Specifies the connection endpoint for the primary instance of the DB
cluster.
|
DBCluster |
withEngine(java.lang.String engine)
Provides the name of the database engine to be used for this DB cluster.
|
DBCluster |
withEngineVersion(java.lang.String engineVersion)
Indicates the database engine version.
|
DBCluster |
withHostedZoneId(java.lang.String hostedZoneId)
Specifies the ID that Amazon Route 53 assigns when you create a hosted
zone.
|
DBCluster |
withKmsKeyId(java.lang.String kmsKeyId)
If
StorageEncrypted is true, the KMS key identifier for the
encrypted DB cluster. |
DBCluster |
withLatestRestorableTime(java.util.Date latestRestorableTime)
Specifies the latest time to which a database can be restored with
point-in-time restore.
|
DBCluster |
withMasterUsername(java.lang.String masterUsername)
Contains the master username for the DB cluster.
|
DBCluster |
withPercentProgress(java.lang.String percentProgress)
Specifies the progress of the operation as a percentage.
|
DBCluster |
withPort(java.lang.Integer port)
Specifies the port that the database engine is listening on.
|
DBCluster |
withPreferredBackupWindow(java.lang.String preferredBackupWindow)
Specifies the daily time range during which automated backups are created
if automated backups are enabled, as determined by the
BackupRetentionPeriod . |
DBCluster |
withPreferredMaintenanceWindow(java.lang.String preferredMaintenanceWindow)
Specifies the weekly time range during which system maintenance can
occur, in Universal Coordinated Time (UTC).
|
DBCluster |
withStatus(java.lang.String status)
Specifies the current state of this DB cluster.
|
DBCluster |
withStorageEncrypted(java.lang.Boolean storageEncrypted)
Specifies whether the DB cluster is encrypted.
|
DBCluster |
withVpcSecurityGroups(java.util.Collection<VpcSecurityGroupMembership> vpcSecurityGroups)
Provides a list of VPC security groups that the DB cluster belongs to.
|
DBCluster |
withVpcSecurityGroups(VpcSecurityGroupMembership... vpcSecurityGroups)
Provides a list of VPC security groups that the DB cluster belongs to.
|
private java.lang.Integer allocatedStorage
Specifies the allocated storage size in gigabytes (GB).
private SdkInternalList<java.lang.String> availabilityZones
Provides the list of EC2 Availability Zones that instances in the DB cluster can be created in.
private java.lang.Integer backupRetentionPeriod
Specifies the number of days for which automatic DB snapshots are retained.
private java.lang.String characterSetName
If present, specifies the name of the character set that this cluster is associated with.
private java.lang.String databaseName
Contains the name of the initial database of this DB cluster that was provided at create time, if one was specified when the DB cluster was created. This same name is returned for the life of the DB cluster.
private java.lang.String dBClusterIdentifier
Contains a user-supplied DB cluster identifier. This identifier is the unique key that identifies a DB cluster.
private java.lang.String dBClusterParameterGroup
Specifies the name of the DB cluster parameter group for the DB cluster.
private java.lang.String dBSubnetGroup
Specifies information on the subnet group associated with the DB cluster, including the name, description, and subnets in the subnet group.
private java.lang.String status
Specifies the current state of this DB cluster.
private java.lang.String percentProgress
Specifies the progress of the operation as a percentage.
private java.util.Date earliestRestorableTime
Specifies the earliest time to which a database can be restored with point-in-time restore.
private java.lang.String endpoint
Specifies the connection endpoint for the primary instance of the DB cluster.
private java.lang.String engine
Provides the name of the database engine to be used for this DB cluster.
private java.lang.String engineVersion
Indicates the database engine version.
private java.util.Date latestRestorableTime
Specifies the latest time to which a database can be restored with point-in-time restore.
private java.lang.Integer port
Specifies the port that the database engine is listening on.
private java.lang.String masterUsername
Contains the master username for the DB cluster.
private SdkInternalList<DBClusterOptionGroupStatus> dBClusterOptionGroupMemberships
Provides the list of option group memberships for this DB cluster.
private java.lang.String preferredBackupWindow
Specifies the daily time range during which automated backups are created
if automated backups are enabled, as determined by the
BackupRetentionPeriod
.
private java.lang.String preferredMaintenanceWindow
Specifies the weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
private SdkInternalList<DBClusterMember> dBClusterMembers
Provides the list of instances that make up the DB cluster.
private SdkInternalList<VpcSecurityGroupMembership> vpcSecurityGroups
Provides a list of VPC security groups that the DB cluster belongs to.
private java.lang.String hostedZoneId
Specifies the ID that Amazon Route 53 assigns when you create a hosted zone.
private java.lang.Boolean storageEncrypted
Specifies whether the DB cluster is encrypted.
private java.lang.String kmsKeyId
If StorageEncrypted
is true, the KMS key identifier for the
encrypted DB cluster.
private java.lang.String dbClusterResourceId
The region-unique, immutable identifier for the DB cluster. This identifier is found in AWS CloudTrail log entries whenever the KMS key for the DB cluster is accessed.
public void setAllocatedStorage(java.lang.Integer allocatedStorage)
Specifies the allocated storage size in gigabytes (GB).
allocatedStorage
- Specifies the allocated storage size in gigabytes (GB).public java.lang.Integer getAllocatedStorage()
Specifies the allocated storage size in gigabytes (GB).
public DBCluster withAllocatedStorage(java.lang.Integer allocatedStorage)
Specifies the allocated storage size in gigabytes (GB).
allocatedStorage
- Specifies the allocated storage size in gigabytes (GB).public java.util.List<java.lang.String> getAvailabilityZones()
Provides the list of EC2 Availability Zones that instances in the DB cluster can be created in.
public void setAvailabilityZones(java.util.Collection<java.lang.String> availabilityZones)
Provides the list of EC2 Availability Zones that instances in the DB cluster can be created in.
availabilityZones
- Provides the list of EC2 Availability Zones that instances in the
DB cluster can be created in.public DBCluster withAvailabilityZones(java.lang.String... availabilityZones)
Provides the list of EC2 Availability Zones that instances in the DB cluster can be created in.
NOTE: This method appends the values to the existing list (if
any). Use setAvailabilityZones(java.util.Collection)
or
withAvailabilityZones(java.util.Collection)
if you want to
override the existing values.
availabilityZones
- Provides the list of EC2 Availability Zones that instances in the
DB cluster can be created in.public DBCluster withAvailabilityZones(java.util.Collection<java.lang.String> availabilityZones)
Provides the list of EC2 Availability Zones that instances in the DB cluster can be created in.
availabilityZones
- Provides the list of EC2 Availability Zones that instances in the
DB cluster can be created in.public void setBackupRetentionPeriod(java.lang.Integer backupRetentionPeriod)
Specifies the number of days for which automatic DB snapshots are retained.
backupRetentionPeriod
- Specifies the number of days for which automatic DB snapshots are
retained.public java.lang.Integer getBackupRetentionPeriod()
Specifies the number of days for which automatic DB snapshots are retained.
public DBCluster withBackupRetentionPeriod(java.lang.Integer backupRetentionPeriod)
Specifies the number of days for which automatic DB snapshots are retained.
backupRetentionPeriod
- Specifies the number of days for which automatic DB snapshots are
retained.public void setCharacterSetName(java.lang.String characterSetName)
If present, specifies the name of the character set that this cluster is associated with.
characterSetName
- If present, specifies the name of the character set that this
cluster is associated with.public java.lang.String getCharacterSetName()
If present, specifies the name of the character set that this cluster is associated with.
public DBCluster withCharacterSetName(java.lang.String characterSetName)
If present, specifies the name of the character set that this cluster is associated with.
characterSetName
- If present, specifies the name of the character set that this
cluster is associated with.public void setDatabaseName(java.lang.String databaseName)
Contains the name of the initial database of this DB cluster that was provided at create time, if one was specified when the DB cluster was created. This same name is returned for the life of the DB cluster.
databaseName
- Contains the name of the initial database of this DB cluster that
was provided at create time, if one was specified when the DB
cluster was created. This same name is returned for the life of
the DB cluster.public java.lang.String getDatabaseName()
Contains the name of the initial database of this DB cluster that was provided at create time, if one was specified when the DB cluster was created. This same name is returned for the life of the DB cluster.
public DBCluster withDatabaseName(java.lang.String databaseName)
Contains the name of the initial database of this DB cluster that was provided at create time, if one was specified when the DB cluster was created. This same name is returned for the life of the DB cluster.
databaseName
- Contains the name of the initial database of this DB cluster that
was provided at create time, if one was specified when the DB
cluster was created. This same name is returned for the life of
the DB cluster.public void setDBClusterIdentifier(java.lang.String dBClusterIdentifier)
Contains a user-supplied DB cluster identifier. This identifier is the unique key that identifies a DB cluster.
dBClusterIdentifier
- Contains a user-supplied DB cluster identifier. This identifier is
the unique key that identifies a DB cluster.public java.lang.String getDBClusterIdentifier()
Contains a user-supplied DB cluster identifier. This identifier is the unique key that identifies a DB cluster.
public DBCluster withDBClusterIdentifier(java.lang.String dBClusterIdentifier)
Contains a user-supplied DB cluster identifier. This identifier is the unique key that identifies a DB cluster.
dBClusterIdentifier
- Contains a user-supplied DB cluster identifier. This identifier is
the unique key that identifies a DB cluster.public void setDBClusterParameterGroup(java.lang.String dBClusterParameterGroup)
Specifies the name of the DB cluster parameter group for the DB cluster.
dBClusterParameterGroup
- Specifies the name of the DB cluster parameter group for the DB
cluster.public java.lang.String getDBClusterParameterGroup()
Specifies the name of the DB cluster parameter group for the DB cluster.
public DBCluster withDBClusterParameterGroup(java.lang.String dBClusterParameterGroup)
Specifies the name of the DB cluster parameter group for the DB cluster.
dBClusterParameterGroup
- Specifies the name of the DB cluster parameter group for the DB
cluster.public void setDBSubnetGroup(java.lang.String dBSubnetGroup)
Specifies information on the subnet group associated with the DB cluster, including the name, description, and subnets in the subnet group.
dBSubnetGroup
- Specifies information on the subnet group associated with the DB
cluster, including the name, description, and subnets in the
subnet group.public java.lang.String getDBSubnetGroup()
Specifies information on the subnet group associated with the DB cluster, including the name, description, and subnets in the subnet group.
public DBCluster withDBSubnetGroup(java.lang.String dBSubnetGroup)
Specifies information on the subnet group associated with the DB cluster, including the name, description, and subnets in the subnet group.
dBSubnetGroup
- Specifies information on the subnet group associated with the DB
cluster, including the name, description, and subnets in the
subnet group.public void setStatus(java.lang.String status)
Specifies the current state of this DB cluster.
status
- Specifies the current state of this DB cluster.public java.lang.String getStatus()
Specifies the current state of this DB cluster.
public DBCluster withStatus(java.lang.String status)
Specifies the current state of this DB cluster.
status
- Specifies the current state of this DB cluster.public void setPercentProgress(java.lang.String percentProgress)
Specifies the progress of the operation as a percentage.
percentProgress
- Specifies the progress of the operation as a percentage.public java.lang.String getPercentProgress()
Specifies the progress of the operation as a percentage.
public DBCluster withPercentProgress(java.lang.String percentProgress)
Specifies the progress of the operation as a percentage.
percentProgress
- Specifies the progress of the operation as a percentage.public void setEarliestRestorableTime(java.util.Date earliestRestorableTime)
Specifies the earliest time to which a database can be restored with point-in-time restore.
earliestRestorableTime
- Specifies the earliest time to which a database can be restored
with point-in-time restore.public java.util.Date getEarliestRestorableTime()
Specifies the earliest time to which a database can be restored with point-in-time restore.
public DBCluster withEarliestRestorableTime(java.util.Date earliestRestorableTime)
Specifies the earliest time to which a database can be restored with point-in-time restore.
earliestRestorableTime
- Specifies the earliest time to which a database can be restored
with point-in-time restore.public void setEndpoint(java.lang.String endpoint)
Specifies the connection endpoint for the primary instance of the DB cluster.
endpoint
- Specifies the connection endpoint for the primary instance of the
DB cluster.public java.lang.String getEndpoint()
Specifies the connection endpoint for the primary instance of the DB cluster.
public DBCluster withEndpoint(java.lang.String endpoint)
Specifies the connection endpoint for the primary instance of the DB cluster.
endpoint
- Specifies the connection endpoint for the primary instance of the
DB cluster.public void setEngine(java.lang.String engine)
Provides the name of the database engine to be used for this DB cluster.
engine
- Provides the name of the database engine to be used for this DB
cluster.public java.lang.String getEngine()
Provides the name of the database engine to be used for this DB cluster.
public DBCluster withEngine(java.lang.String engine)
Provides the name of the database engine to be used for this DB cluster.
engine
- Provides the name of the database engine to be used for this DB
cluster.public void setEngineVersion(java.lang.String engineVersion)
Indicates the database engine version.
engineVersion
- Indicates the database engine version.public java.lang.String getEngineVersion()
Indicates the database engine version.
public DBCluster withEngineVersion(java.lang.String engineVersion)
Indicates the database engine version.
engineVersion
- Indicates the database engine version.public void setLatestRestorableTime(java.util.Date latestRestorableTime)
Specifies the latest time to which a database can be restored with point-in-time restore.
latestRestorableTime
- Specifies the latest time to which a database can be restored with
point-in-time restore.public java.util.Date getLatestRestorableTime()
Specifies the latest time to which a database can be restored with point-in-time restore.
public DBCluster withLatestRestorableTime(java.util.Date latestRestorableTime)
Specifies the latest time to which a database can be restored with point-in-time restore.
latestRestorableTime
- Specifies the latest time to which a database can be restored with
point-in-time restore.public void setPort(java.lang.Integer port)
Specifies the port that the database engine is listening on.
port
- Specifies the port that the database engine is listening on.public java.lang.Integer getPort()
Specifies the port that the database engine is listening on.
public DBCluster withPort(java.lang.Integer port)
Specifies the port that the database engine is listening on.
port
- Specifies the port that the database engine is listening on.public void setMasterUsername(java.lang.String masterUsername)
Contains the master username for the DB cluster.
masterUsername
- Contains the master username for the DB cluster.public java.lang.String getMasterUsername()
Contains the master username for the DB cluster.
public DBCluster withMasterUsername(java.lang.String masterUsername)
Contains the master username for the DB cluster.
masterUsername
- Contains the master username for the DB cluster.public java.util.List<DBClusterOptionGroupStatus> getDBClusterOptionGroupMemberships()
Provides the list of option group memberships for this DB cluster.
public void setDBClusterOptionGroupMemberships(java.util.Collection<DBClusterOptionGroupStatus> dBClusterOptionGroupMemberships)
Provides the list of option group memberships for this DB cluster.
dBClusterOptionGroupMemberships
- Provides the list of option group memberships for this DB cluster.public DBCluster withDBClusterOptionGroupMemberships(DBClusterOptionGroupStatus... dBClusterOptionGroupMemberships)
Provides the list of option group memberships for this DB cluster.
NOTE: This method appends the values to the existing list (if
any). Use
setDBClusterOptionGroupMemberships(java.util.Collection)
or
withDBClusterOptionGroupMemberships(java.util.Collection)
if you
want to override the existing values.
dBClusterOptionGroupMemberships
- Provides the list of option group memberships for this DB cluster.public DBCluster withDBClusterOptionGroupMemberships(java.util.Collection<DBClusterOptionGroupStatus> dBClusterOptionGroupMemberships)
Provides the list of option group memberships for this DB cluster.
dBClusterOptionGroupMemberships
- Provides the list of option group memberships for this DB cluster.public void setPreferredBackupWindow(java.lang.String preferredBackupWindow)
Specifies the daily time range during which automated backups are created
if automated backups are enabled, as determined by the
BackupRetentionPeriod
.
preferredBackupWindow
- Specifies the daily time range during which automated backups are
created if automated backups are enabled, as determined by the
BackupRetentionPeriod
.public java.lang.String getPreferredBackupWindow()
Specifies the daily time range during which automated backups are created
if automated backups are enabled, as determined by the
BackupRetentionPeriod
.
BackupRetentionPeriod
.public DBCluster withPreferredBackupWindow(java.lang.String preferredBackupWindow)
Specifies the daily time range during which automated backups are created
if automated backups are enabled, as determined by the
BackupRetentionPeriod
.
preferredBackupWindow
- Specifies the daily time range during which automated backups are
created if automated backups are enabled, as determined by the
BackupRetentionPeriod
.public void setPreferredMaintenanceWindow(java.lang.String preferredMaintenanceWindow)
Specifies the weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
preferredMaintenanceWindow
- Specifies the weekly time range during which system maintenance
can occur, in Universal Coordinated Time (UTC).public java.lang.String getPreferredMaintenanceWindow()
Specifies the weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
public DBCluster withPreferredMaintenanceWindow(java.lang.String preferredMaintenanceWindow)
Specifies the weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
preferredMaintenanceWindow
- Specifies the weekly time range during which system maintenance
can occur, in Universal Coordinated Time (UTC).public java.util.List<DBClusterMember> getDBClusterMembers()
Provides the list of instances that make up the DB cluster.
public void setDBClusterMembers(java.util.Collection<DBClusterMember> dBClusterMembers)
Provides the list of instances that make up the DB cluster.
dBClusterMembers
- Provides the list of instances that make up the DB cluster.public DBCluster withDBClusterMembers(DBClusterMember... dBClusterMembers)
Provides the list of instances that make up the DB cluster.
NOTE: This method appends the values to the existing list (if
any). Use setDBClusterMembers(java.util.Collection)
or
withDBClusterMembers(java.util.Collection)
if you want to
override the existing values.
dBClusterMembers
- Provides the list of instances that make up the DB cluster.public DBCluster withDBClusterMembers(java.util.Collection<DBClusterMember> dBClusterMembers)
Provides the list of instances that make up the DB cluster.
dBClusterMembers
- Provides the list of instances that make up the DB cluster.public java.util.List<VpcSecurityGroupMembership> getVpcSecurityGroups()
Provides a list of VPC security groups that the DB cluster belongs to.
public void setVpcSecurityGroups(java.util.Collection<VpcSecurityGroupMembership> vpcSecurityGroups)
Provides a list of VPC security groups that the DB cluster belongs to.
vpcSecurityGroups
- Provides a list of VPC security groups that the DB cluster belongs
to.public DBCluster withVpcSecurityGroups(VpcSecurityGroupMembership... vpcSecurityGroups)
Provides a list of VPC security groups that the DB cluster belongs to.
NOTE: This method appends the values to the existing list (if
any). Use setVpcSecurityGroups(java.util.Collection)
or
withVpcSecurityGroups(java.util.Collection)
if you want to
override the existing values.
vpcSecurityGroups
- Provides a list of VPC security groups that the DB cluster belongs
to.public DBCluster withVpcSecurityGroups(java.util.Collection<VpcSecurityGroupMembership> vpcSecurityGroups)
Provides a list of VPC security groups that the DB cluster belongs to.
vpcSecurityGroups
- Provides a list of VPC security groups that the DB cluster belongs
to.public void setHostedZoneId(java.lang.String hostedZoneId)
Specifies the ID that Amazon Route 53 assigns when you create a hosted zone.
hostedZoneId
- Specifies the ID that Amazon Route 53 assigns when you create a
hosted zone.public java.lang.String getHostedZoneId()
Specifies the ID that Amazon Route 53 assigns when you create a hosted zone.
public DBCluster withHostedZoneId(java.lang.String hostedZoneId)
Specifies the ID that Amazon Route 53 assigns when you create a hosted zone.
hostedZoneId
- Specifies the ID that Amazon Route 53 assigns when you create a
hosted zone.public void setStorageEncrypted(java.lang.Boolean storageEncrypted)
Specifies whether the DB cluster is encrypted.
storageEncrypted
- Specifies whether the DB cluster is encrypted.public java.lang.Boolean getStorageEncrypted()
Specifies whether the DB cluster is encrypted.
public DBCluster withStorageEncrypted(java.lang.Boolean storageEncrypted)
Specifies whether the DB cluster is encrypted.
storageEncrypted
- Specifies whether the DB cluster is encrypted.public java.lang.Boolean isStorageEncrypted()
Specifies whether the DB cluster is encrypted.
public void setKmsKeyId(java.lang.String kmsKeyId)
If StorageEncrypted
is true, the KMS key identifier for the
encrypted DB cluster.
kmsKeyId
- If StorageEncrypted
is true, the KMS key identifier
for the encrypted DB cluster.public java.lang.String getKmsKeyId()
If StorageEncrypted
is true, the KMS key identifier for the
encrypted DB cluster.
StorageEncrypted
is true, the KMS key identifier
for the encrypted DB cluster.public DBCluster withKmsKeyId(java.lang.String kmsKeyId)
If StorageEncrypted
is true, the KMS key identifier for the
encrypted DB cluster.
kmsKeyId
- If StorageEncrypted
is true, the KMS key identifier
for the encrypted DB cluster.public void setDbClusterResourceId(java.lang.String dbClusterResourceId)
The region-unique, immutable identifier for the DB cluster. This identifier is found in AWS CloudTrail log entries whenever the KMS key for the DB cluster is accessed.
dbClusterResourceId
- The region-unique, immutable identifier for the DB cluster. This
identifier is found in AWS CloudTrail log entries whenever the KMS
key for the DB cluster is accessed.public java.lang.String getDbClusterResourceId()
The region-unique, immutable identifier for the DB cluster. This identifier is found in AWS CloudTrail log entries whenever the KMS key for the DB cluster is accessed.
public DBCluster withDbClusterResourceId(java.lang.String dbClusterResourceId)
The region-unique, immutable identifier for the DB cluster. This identifier is found in AWS CloudTrail log entries whenever the KMS key for the DB cluster is accessed.
dbClusterResourceId
- The region-unique, immutable identifier for the DB cluster. This
identifier is found in AWS CloudTrail log entries whenever the KMS
key for the DB cluster is accessed.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DBCluster clone()
clone
in class java.lang.Object