public class Cluster extends Object implements Serializable, Cloneable
Describes a cluster.
Constructor and Description |
---|
Cluster() |
Modifier and Type | Method and Description |
---|---|
Cluster |
clone() |
boolean |
equals(Object obj) |
Boolean |
getAllowVersionUpgrade()
If
true , major version upgrades will be applied
automatically to the cluster during the maintenance window. |
Integer |
getAutomatedSnapshotRetentionPeriod()
The number of days that automatic cluster snapshots are retained.
|
String |
getAvailabilityZone()
The name of the Availability Zone in which the cluster is located.
|
Date |
getClusterCreateTime()
The date and time that the cluster was created.
|
String |
getClusterIdentifier()
The unique identifier of the cluster.
|
List<ClusterNode> |
getClusterNodes()
The nodes in a cluster.
|
List<ClusterParameterGroupStatus> |
getClusterParameterGroups()
The list of cluster parameter groups that are associated with this
cluster.
|
String |
getClusterPublicKey()
The public key for the cluster.
|
String |
getClusterRevisionNumber()
The specific revision number of the database in the cluster.
|
List<ClusterSecurityGroupMembership> |
getClusterSecurityGroups()
A list of cluster security group that are associated with the cluster.
|
ClusterSnapshotCopyStatus |
getClusterSnapshotCopyStatus()
Returns the destination region and retention period that are
configured for cross-region snapshot copy.
|
String |
getClusterStatus()
The current state of this cluster.
|
String |
getClusterSubnetGroupName()
The name of the subnet group that is associated with the cluster.
|
String |
getClusterVersion()
The version ID of the Amazon Redshift engine that is running on the
cluster.
|
String |
getDBName()
The name of the initial database that was created when the cluster was
created.
|
ElasticIpStatus |
getElasticIpStatus()
Describes the status of the elastic IP (EIP) address.
|
Boolean |
getEncrypted()
If
true , data in the cluster is encrypted at rest. |
Endpoint |
getEndpoint()
The connection endpoint.
|
HsmStatus |
getHsmStatus()
Reports whether the Amazon Redshift cluster has finished applying any
HSM settings changes specified in a modify cluster command.
|
String |
getKmsKeyId()
The AWS Key Management Service (KMS) key ID of the encryption key used
to encrypt data in the cluster.
|
String |
getMasterUsername()
The master user name for the cluster.
|
String |
getModifyStatus()
The status of a modify operation, if any, initiated for the cluster.
|
String |
getNodeType()
The node type for the nodes in the cluster.
|
Integer |
getNumberOfNodes()
The number of compute nodes in the cluster.
|
PendingModifiedValues |
getPendingModifiedValues()
If present, changes to the cluster are pending.
|
String |
getPreferredMaintenanceWindow()
The weekly time range (in UTC) during which system maintenance can
occur.
|
Boolean |
getPubliclyAccessible()
If
true , the cluster can be accessed from a public
network. |
RestoreStatus |
getRestoreStatus()
Describes the status of a cluster restore action.
|
List<Tag> |
getTags()
The list of tags for the cluster.
|
String |
getVpcId()
The identifier of the VPC the cluster is in, if the cluster is in a
VPC.
|
List<VpcSecurityGroupMembership> |
getVpcSecurityGroups()
A list of Virtual Private Cloud (VPC) security groups that are
associated with the cluster.
|
int |
hashCode() |
Boolean |
isAllowVersionUpgrade()
If
true , major version upgrades will be applied
automatically to the cluster during the maintenance window. |
Boolean |
isEncrypted()
If
true , data in the cluster is encrypted at rest. |
Boolean |
isPubliclyAccessible()
If
true , the cluster can be accessed from a public
network. |
void |
setAllowVersionUpgrade(Boolean allowVersionUpgrade)
If
true , major version upgrades will be applied
automatically to the cluster during the maintenance window. |
void |
setAutomatedSnapshotRetentionPeriod(Integer automatedSnapshotRetentionPeriod)
The number of days that automatic cluster snapshots are retained.
|
void |
setAvailabilityZone(String availabilityZone)
The name of the Availability Zone in which the cluster is located.
|
void |
setClusterCreateTime(Date clusterCreateTime)
The date and time that the cluster was created.
|
void |
setClusterIdentifier(String clusterIdentifier)
The unique identifier of the cluster.
|
void |
setClusterNodes(Collection<ClusterNode> clusterNodes)
The nodes in a cluster.
|
void |
setClusterParameterGroups(Collection<ClusterParameterGroupStatus> clusterParameterGroups)
The list of cluster parameter groups that are associated with this
cluster.
|
void |
setClusterPublicKey(String clusterPublicKey)
The public key for the cluster.
|
void |
setClusterRevisionNumber(String clusterRevisionNumber)
The specific revision number of the database in the cluster.
|
void |
setClusterSecurityGroups(Collection<ClusterSecurityGroupMembership> clusterSecurityGroups)
A list of cluster security group that are associated with the cluster.
|
void |
setClusterSnapshotCopyStatus(ClusterSnapshotCopyStatus clusterSnapshotCopyStatus)
Returns the destination region and retention period that are
configured for cross-region snapshot copy.
|
void |
setClusterStatus(String clusterStatus)
The current state of this cluster.
|
void |
setClusterSubnetGroupName(String clusterSubnetGroupName)
The name of the subnet group that is associated with the cluster.
|
void |
setClusterVersion(String clusterVersion)
The version ID of the Amazon Redshift engine that is running on the
cluster.
|
void |
setDBName(String dBName)
The name of the initial database that was created when the cluster was
created.
|
void |
setElasticIpStatus(ElasticIpStatus elasticIpStatus)
Describes the status of the elastic IP (EIP) address.
|
void |
setEncrypted(Boolean encrypted)
If
true , data in the cluster is encrypted at rest. |
void |
setEndpoint(Endpoint endpoint)
The connection endpoint.
|
void |
setHsmStatus(HsmStatus hsmStatus)
Reports whether the Amazon Redshift cluster has finished applying any
HSM settings changes specified in a modify cluster command.
|
void |
setKmsKeyId(String kmsKeyId)
The AWS Key Management Service (KMS) key ID of the encryption key used
to encrypt data in the cluster.
|
void |
setMasterUsername(String masterUsername)
The master user name for the cluster.
|
void |
setModifyStatus(String modifyStatus)
The status of a modify operation, if any, initiated for the cluster.
|
void |
setNodeType(String nodeType)
The node type for the nodes in the cluster.
|
void |
setNumberOfNodes(Integer numberOfNodes)
The number of compute nodes in the cluster.
|
void |
setPendingModifiedValues(PendingModifiedValues pendingModifiedValues)
If present, changes to the cluster are pending.
|
void |
setPreferredMaintenanceWindow(String preferredMaintenanceWindow)
The weekly time range (in UTC) during which system maintenance can
occur.
|
void |
setPubliclyAccessible(Boolean publiclyAccessible)
If
true , the cluster can be accessed from a public
network. |
void |
setRestoreStatus(RestoreStatus restoreStatus)
Describes the status of a cluster restore action.
|
void |
setTags(Collection<Tag> tags)
The list of tags for the cluster.
|
void |
setVpcId(String vpcId)
The identifier of the VPC the cluster is in, if the cluster is in a
VPC.
|
void |
setVpcSecurityGroups(Collection<VpcSecurityGroupMembership> vpcSecurityGroups)
A list of Virtual Private Cloud (VPC) security groups that are
associated with the cluster.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Cluster |
withAllowVersionUpgrade(Boolean allowVersionUpgrade)
If
true , major version upgrades will be applied
automatically to the cluster during the maintenance window. |
Cluster |
withAutomatedSnapshotRetentionPeriod(Integer automatedSnapshotRetentionPeriod)
The number of days that automatic cluster snapshots are retained.
|
Cluster |
withAvailabilityZone(String availabilityZone)
The name of the Availability Zone in which the cluster is located.
|
Cluster |
withClusterCreateTime(Date clusterCreateTime)
The date and time that the cluster was created.
|
Cluster |
withClusterIdentifier(String clusterIdentifier)
The unique identifier of the cluster.
|
Cluster |
withClusterNodes(ClusterNode... clusterNodes)
The nodes in a cluster.
|
Cluster |
withClusterNodes(Collection<ClusterNode> clusterNodes)
The nodes in a cluster.
|
Cluster |
withClusterParameterGroups(ClusterParameterGroupStatus... clusterParameterGroups)
The list of cluster parameter groups that are associated with this
cluster.
|
Cluster |
withClusterParameterGroups(Collection<ClusterParameterGroupStatus> clusterParameterGroups)
The list of cluster parameter groups that are associated with this
cluster.
|
Cluster |
withClusterPublicKey(String clusterPublicKey)
The public key for the cluster.
|
Cluster |
withClusterRevisionNumber(String clusterRevisionNumber)
The specific revision number of the database in the cluster.
|
Cluster |
withClusterSecurityGroups(ClusterSecurityGroupMembership... clusterSecurityGroups)
A list of cluster security group that are associated with the cluster.
|
Cluster |
withClusterSecurityGroups(Collection<ClusterSecurityGroupMembership> clusterSecurityGroups)
A list of cluster security group that are associated with the cluster.
|
Cluster |
withClusterSnapshotCopyStatus(ClusterSnapshotCopyStatus clusterSnapshotCopyStatus)
Returns the destination region and retention period that are
configured for cross-region snapshot copy.
|
Cluster |
withClusterStatus(String clusterStatus)
The current state of this cluster.
|
Cluster |
withClusterSubnetGroupName(String clusterSubnetGroupName)
The name of the subnet group that is associated with the cluster.
|
Cluster |
withClusterVersion(String clusterVersion)
The version ID of the Amazon Redshift engine that is running on the
cluster.
|
Cluster |
withDBName(String dBName)
The name of the initial database that was created when the cluster was
created.
|
Cluster |
withElasticIpStatus(ElasticIpStatus elasticIpStatus)
Describes the status of the elastic IP (EIP) address.
|
Cluster |
withEncrypted(Boolean encrypted)
If
true , data in the cluster is encrypted at rest. |
Cluster |
withEndpoint(Endpoint endpoint)
The connection endpoint.
|
Cluster |
withHsmStatus(HsmStatus hsmStatus)
Reports whether the Amazon Redshift cluster has finished applying any
HSM settings changes specified in a modify cluster command.
|
Cluster |
withKmsKeyId(String kmsKeyId)
The AWS Key Management Service (KMS) key ID of the encryption key used
to encrypt data in the cluster.
|
Cluster |
withMasterUsername(String masterUsername)
The master user name for the cluster.
|
Cluster |
withModifyStatus(String modifyStatus)
The status of a modify operation, if any, initiated for the cluster.
|
Cluster |
withNodeType(String nodeType)
The node type for the nodes in the cluster.
|
Cluster |
withNumberOfNodes(Integer numberOfNodes)
The number of compute nodes in the cluster.
|
Cluster |
withPendingModifiedValues(PendingModifiedValues pendingModifiedValues)
If present, changes to the cluster are pending.
|
Cluster |
withPreferredMaintenanceWindow(String preferredMaintenanceWindow)
The weekly time range (in UTC) during which system maintenance can
occur.
|
Cluster |
withPubliclyAccessible(Boolean publiclyAccessible)
If
true , the cluster can be accessed from a public
network. |
Cluster |
withRestoreStatus(RestoreStatus restoreStatus)
Describes the status of a cluster restore action.
|
Cluster |
withTags(Collection<Tag> tags)
The list of tags for the cluster.
|
Cluster |
withTags(Tag... tags)
The list of tags for the cluster.
|
Cluster |
withVpcId(String vpcId)
The identifier of the VPC the cluster is in, if the cluster is in a
VPC.
|
Cluster |
withVpcSecurityGroups(Collection<VpcSecurityGroupMembership> vpcSecurityGroups)
A list of Virtual Private Cloud (VPC) security groups that are
associated with the cluster.
|
Cluster |
withVpcSecurityGroups(VpcSecurityGroupMembership... vpcSecurityGroups)
A list of Virtual Private Cloud (VPC) security groups that are
associated with the cluster.
|
public String getClusterIdentifier()
public void setClusterIdentifier(String clusterIdentifier)
clusterIdentifier
- The unique identifier of the cluster.public Cluster withClusterIdentifier(String clusterIdentifier)
Returns a reference to this object so that method calls can be chained together.
clusterIdentifier
- The unique identifier of the cluster.public String getNodeType()
public void setNodeType(String nodeType)
nodeType
- The node type for the nodes in the cluster.public Cluster withNodeType(String nodeType)
Returns a reference to this object so that method calls can be chained together.
nodeType
- The node type for the nodes in the cluster.public String getClusterStatus()
available
, creating
, deleting
,
rebooting
, renaming
, and
resizing
.available
, creating
, deleting
,
rebooting
, renaming
, and
resizing
.public void setClusterStatus(String clusterStatus)
available
, creating
, deleting
,
rebooting
, renaming
, and
resizing
.clusterStatus
- The current state of this cluster. Possible values include
available
, creating
, deleting
,
rebooting
, renaming
, and
resizing
.public Cluster withClusterStatus(String clusterStatus)
available
, creating
, deleting
,
rebooting
, renaming
, and
resizing
.
Returns a reference to this object so that method calls can be chained together.
clusterStatus
- The current state of this cluster. Possible values include
available
, creating
, deleting
,
rebooting
, renaming
, and
resizing
.public String getModifyStatus()
public void setModifyStatus(String modifyStatus)
modifyStatus
- The status of a modify operation, if any, initiated for the cluster.public Cluster withModifyStatus(String modifyStatus)
Returns a reference to this object so that method calls can be chained together.
modifyStatus
- The status of a modify operation, if any, initiated for the cluster.public String getMasterUsername()
public void setMasterUsername(String masterUsername)
masterUsername
- The master user name for the cluster. This name is used to connect to
the database that is specified in DBName.public Cluster withMasterUsername(String masterUsername)
Returns a reference to this object so that method calls can be chained together.
masterUsername
- The master user name for the cluster. This name is used to connect to
the database that is specified in DBName.public String getDBName()
public void setDBName(String dBName)
dBName
- The name of the initial database that was created when the cluster was
created. This same name is returned for the life of the cluster. If an
initial database was not specified, a database named "dev" was created
by default.public Cluster withDBName(String dBName)
Returns a reference to this object so that method calls can be chained together.
dBName
- The name of the initial database that was created when the cluster was
created. This same name is returned for the life of the cluster. If an
initial database was not specified, a database named "dev" was created
by default.public Endpoint getEndpoint()
public void setEndpoint(Endpoint endpoint)
endpoint
- The connection endpoint.public Cluster withEndpoint(Endpoint endpoint)
Returns a reference to this object so that method calls can be chained together.
endpoint
- The connection endpoint.public Date getClusterCreateTime()
public void setClusterCreateTime(Date clusterCreateTime)
clusterCreateTime
- The date and time that the cluster was created.public Cluster withClusterCreateTime(Date clusterCreateTime)
Returns a reference to this object so that method calls can be chained together.
clusterCreateTime
- The date and time that the cluster was created.public Integer getAutomatedSnapshotRetentionPeriod()
public void setAutomatedSnapshotRetentionPeriod(Integer automatedSnapshotRetentionPeriod)
automatedSnapshotRetentionPeriod
- The number of days that automatic cluster snapshots are retained.public Cluster withAutomatedSnapshotRetentionPeriod(Integer automatedSnapshotRetentionPeriod)
Returns a reference to this object so that method calls can be chained together.
automatedSnapshotRetentionPeriod
- The number of days that automatic cluster snapshots are retained.public List<ClusterSecurityGroupMembership> getClusterSecurityGroups()
ClusterSecurityGroup.Name
and
ClusterSecurityGroup.Status
subelements. Cluster security groups are used when the cluster is not created in a VPC. Clusters that are created in a VPC use VPC security groups, which are listed by the VpcSecurityGroups parameter.
ClusterSecurityGroup.Name
and
ClusterSecurityGroup.Status
subelements. Cluster security groups are used when the cluster is not created in a VPC. Clusters that are created in a VPC use VPC security groups, which are listed by the VpcSecurityGroups parameter.
public void setClusterSecurityGroups(Collection<ClusterSecurityGroupMembership> clusterSecurityGroups)
ClusterSecurityGroup.Name
and
ClusterSecurityGroup.Status
subelements. Cluster security groups are used when the cluster is not created in a VPC. Clusters that are created in a VPC use VPC security groups, which are listed by the VpcSecurityGroups parameter.
clusterSecurityGroups
- A list of cluster security group that are associated with the cluster.
Each security group is represented by an element that contains
ClusterSecurityGroup.Name
and
ClusterSecurityGroup.Status
subelements. Cluster security groups are used when the cluster is not created in a VPC. Clusters that are created in a VPC use VPC security groups, which are listed by the VpcSecurityGroups parameter.
public Cluster withClusterSecurityGroups(ClusterSecurityGroupMembership... clusterSecurityGroups)
ClusterSecurityGroup.Name
and
ClusterSecurityGroup.Status
subelements. Cluster security groups are used when the cluster is not created in a VPC. Clusters that are created in a VPC use VPC security groups, which are listed by the VpcSecurityGroups parameter.
NOTE: This method appends the values to the existing list (if
any). Use setClusterSecurityGroups(java.util.Collection)
or
withClusterSecurityGroups(java.util.Collection)
if you want
to override the existing values.
Returns a reference to this object so that method calls can be chained together.
clusterSecurityGroups
- A list of cluster security group that are associated with the cluster.
Each security group is represented by an element that contains
ClusterSecurityGroup.Name
and
ClusterSecurityGroup.Status
subelements. Cluster security groups are used when the cluster is not created in a VPC. Clusters that are created in a VPC use VPC security groups, which are listed by the VpcSecurityGroups parameter.
public Cluster withClusterSecurityGroups(Collection<ClusterSecurityGroupMembership> clusterSecurityGroups)
ClusterSecurityGroup.Name
and
ClusterSecurityGroup.Status
subelements. Cluster security groups are used when the cluster is not created in a VPC. Clusters that are created in a VPC use VPC security groups, which are listed by the VpcSecurityGroups parameter.
Returns a reference to this object so that method calls can be chained together.
clusterSecurityGroups
- A list of cluster security group that are associated with the cluster.
Each security group is represented by an element that contains
ClusterSecurityGroup.Name
and
ClusterSecurityGroup.Status
subelements. Cluster security groups are used when the cluster is not created in a VPC. Clusters that are created in a VPC use VPC security groups, which are listed by the VpcSecurityGroups parameter.
public List<VpcSecurityGroupMembership> getVpcSecurityGroups()
public void setVpcSecurityGroups(Collection<VpcSecurityGroupMembership> vpcSecurityGroups)
vpcSecurityGroups
- A list of Virtual Private Cloud (VPC) security groups that are
associated with the cluster. This parameter is returned only if the
cluster is in a VPC.public Cluster withVpcSecurityGroups(VpcSecurityGroupMembership... vpcSecurityGroups)
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.
Returns a reference to this object so that method calls can be chained together.
vpcSecurityGroups
- A list of Virtual Private Cloud (VPC) security groups that are
associated with the cluster. This parameter is returned only if the
cluster is in a VPC.public Cluster withVpcSecurityGroups(Collection<VpcSecurityGroupMembership> vpcSecurityGroups)
Returns a reference to this object so that method calls can be chained together.
vpcSecurityGroups
- A list of Virtual Private Cloud (VPC) security groups that are
associated with the cluster. This parameter is returned only if the
cluster is in a VPC.public List<ClusterParameterGroupStatus> getClusterParameterGroups()
public void setClusterParameterGroups(Collection<ClusterParameterGroupStatus> clusterParameterGroups)
clusterParameterGroups
- The list of cluster parameter groups that are associated with this
cluster. Each parameter group in the list is returned with its status.public Cluster withClusterParameterGroups(ClusterParameterGroupStatus... clusterParameterGroups)
NOTE: This method appends the values to the existing list (if
any). Use setClusterParameterGroups(java.util.Collection)
or
withClusterParameterGroups(java.util.Collection)
if you want
to override the existing values.
Returns a reference to this object so that method calls can be chained together.
clusterParameterGroups
- The list of cluster parameter groups that are associated with this
cluster. Each parameter group in the list is returned with its status.public Cluster withClusterParameterGroups(Collection<ClusterParameterGroupStatus> clusterParameterGroups)
Returns a reference to this object so that method calls can be chained together.
clusterParameterGroups
- The list of cluster parameter groups that are associated with this
cluster. Each parameter group in the list is returned with its status.public String getClusterSubnetGroupName()
public void setClusterSubnetGroupName(String clusterSubnetGroupName)
clusterSubnetGroupName
- The name of the subnet group that is associated with the cluster. This
parameter is valid only when the cluster is in a VPC.public Cluster withClusterSubnetGroupName(String clusterSubnetGroupName)
Returns a reference to this object so that method calls can be chained together.
clusterSubnetGroupName
- The name of the subnet group that is associated with the cluster. This
parameter is valid only when the cluster is in a VPC.public String getVpcId()
public void setVpcId(String vpcId)
vpcId
- The identifier of the VPC the cluster is in, if the cluster is in a
VPC.public Cluster withVpcId(String vpcId)
Returns a reference to this object so that method calls can be chained together.
vpcId
- The identifier of the VPC the cluster is in, if the cluster is in a
VPC.public String getAvailabilityZone()
public void setAvailabilityZone(String availabilityZone)
availabilityZone
- The name of the Availability Zone in which the cluster is located.public Cluster withAvailabilityZone(String availabilityZone)
Returns a reference to this object so that method calls can be chained together.
availabilityZone
- The name of the Availability Zone in which the cluster is located.public String getPreferredMaintenanceWindow()
public void setPreferredMaintenanceWindow(String preferredMaintenanceWindow)
preferredMaintenanceWindow
- The weekly time range (in UTC) during which system maintenance can
occur.public Cluster withPreferredMaintenanceWindow(String preferredMaintenanceWindow)
Returns a reference to this object so that method calls can be chained together.
preferredMaintenanceWindow
- The weekly time range (in UTC) during which system maintenance can
occur.public PendingModifiedValues getPendingModifiedValues()
public void setPendingModifiedValues(PendingModifiedValues pendingModifiedValues)
pendingModifiedValues
- If present, changes to the cluster are pending. Specific pending
changes are identified by subelements.public Cluster withPendingModifiedValues(PendingModifiedValues pendingModifiedValues)
Returns a reference to this object so that method calls can be chained together.
pendingModifiedValues
- If present, changes to the cluster are pending. Specific pending
changes are identified by subelements.public String getClusterVersion()
public void setClusterVersion(String clusterVersion)
clusterVersion
- The version ID of the Amazon Redshift engine that is running on the
cluster.public Cluster withClusterVersion(String clusterVersion)
Returns a reference to this object so that method calls can be chained together.
clusterVersion
- The version ID of the Amazon Redshift engine that is running on the
cluster.public Boolean isAllowVersionUpgrade()
true
, major version upgrades will be applied
automatically to the cluster during the maintenance window.true
, major version upgrades will be applied
automatically to the cluster during the maintenance window.public void setAllowVersionUpgrade(Boolean allowVersionUpgrade)
true
, major version upgrades will be applied
automatically to the cluster during the maintenance window.allowVersionUpgrade
- If true
, major version upgrades will be applied
automatically to the cluster during the maintenance window.public Cluster withAllowVersionUpgrade(Boolean allowVersionUpgrade)
true
, major version upgrades will be applied
automatically to the cluster during the maintenance window.
Returns a reference to this object so that method calls can be chained together.
allowVersionUpgrade
- If true
, major version upgrades will be applied
automatically to the cluster during the maintenance window.public Boolean getAllowVersionUpgrade()
true
, major version upgrades will be applied
automatically to the cluster during the maintenance window.true
, major version upgrades will be applied
automatically to the cluster during the maintenance window.public Integer getNumberOfNodes()
public void setNumberOfNodes(Integer numberOfNodes)
numberOfNodes
- The number of compute nodes in the cluster.public Cluster withNumberOfNodes(Integer numberOfNodes)
Returns a reference to this object so that method calls can be chained together.
numberOfNodes
- The number of compute nodes in the cluster.public Boolean isPubliclyAccessible()
true
, the cluster can be accessed from a public
network.true
, the cluster can be accessed from a public
network.public void setPubliclyAccessible(Boolean publiclyAccessible)
true
, the cluster can be accessed from a public
network.publiclyAccessible
- If true
, the cluster can be accessed from a public
network.public Cluster withPubliclyAccessible(Boolean publiclyAccessible)
true
, the cluster can be accessed from a public
network.
Returns a reference to this object so that method calls can be chained together.
publiclyAccessible
- If true
, the cluster can be accessed from a public
network.public Boolean getPubliclyAccessible()
true
, the cluster can be accessed from a public
network.true
, the cluster can be accessed from a public
network.public Boolean isEncrypted()
true
, data in the cluster is encrypted at rest.true
, data in the cluster is encrypted at rest.public void setEncrypted(Boolean encrypted)
true
, data in the cluster is encrypted at rest.encrypted
- If true
, data in the cluster is encrypted at rest.public Cluster withEncrypted(Boolean encrypted)
true
, data in the cluster is encrypted at rest.
Returns a reference to this object so that method calls can be chained together.
encrypted
- If true
, data in the cluster is encrypted at rest.public Boolean getEncrypted()
true
, data in the cluster is encrypted at rest.true
, data in the cluster is encrypted at rest.public RestoreStatus getRestoreStatus()
public void setRestoreStatus(RestoreStatus restoreStatus)
restoreStatus
- Describes the status of a cluster restore action. Returns null if the
cluster was not created by restoring a snapshot.public Cluster withRestoreStatus(RestoreStatus restoreStatus)
Returns a reference to this object so that method calls can be chained together.
restoreStatus
- Describes the status of a cluster restore action. Returns null if the
cluster was not created by restoring a snapshot.public HsmStatus getHsmStatus()
Values: active, applying
Values: active, applying
public void setHsmStatus(HsmStatus hsmStatus)
Values: active, applying
hsmStatus
- Reports whether the Amazon Redshift cluster has finished applying any
HSM settings changes specified in a modify cluster command. Values: active, applying
public Cluster withHsmStatus(HsmStatus hsmStatus)
Values: active, applying
Returns a reference to this object so that method calls can be chained together.
hsmStatus
- Reports whether the Amazon Redshift cluster has finished applying any
HSM settings changes specified in a modify cluster command. Values: active, applying
public ClusterSnapshotCopyStatus getClusterSnapshotCopyStatus()
public void setClusterSnapshotCopyStatus(ClusterSnapshotCopyStatus clusterSnapshotCopyStatus)
clusterSnapshotCopyStatus
- Returns the destination region and retention period that are
configured for cross-region snapshot copy.public Cluster withClusterSnapshotCopyStatus(ClusterSnapshotCopyStatus clusterSnapshotCopyStatus)
Returns a reference to this object so that method calls can be chained together.
clusterSnapshotCopyStatus
- Returns the destination region and retention period that are
configured for cross-region snapshot copy.public String getClusterPublicKey()
public void setClusterPublicKey(String clusterPublicKey)
clusterPublicKey
- The public key for the cluster.public Cluster withClusterPublicKey(String clusterPublicKey)
Returns a reference to this object so that method calls can be chained together.
clusterPublicKey
- The public key for the cluster.public List<ClusterNode> getClusterNodes()
public void setClusterNodes(Collection<ClusterNode> clusterNodes)
clusterNodes
- The nodes in a cluster.public Cluster withClusterNodes(ClusterNode... clusterNodes)
NOTE: This method appends the values to the existing list (if
any). Use setClusterNodes(java.util.Collection)
or withClusterNodes(java.util.Collection)
if you want to override the
existing values.
Returns a reference to this object so that method calls can be chained together.
clusterNodes
- The nodes in a cluster.public Cluster withClusterNodes(Collection<ClusterNode> clusterNodes)
Returns a reference to this object so that method calls can be chained together.
clusterNodes
- The nodes in a cluster.public ElasticIpStatus getElasticIpStatus()
public void setElasticIpStatus(ElasticIpStatus elasticIpStatus)
elasticIpStatus
- Describes the status of the elastic IP (EIP) address.public Cluster withElasticIpStatus(ElasticIpStatus elasticIpStatus)
Returns a reference to this object so that method calls can be chained together.
elasticIpStatus
- Describes the status of the elastic IP (EIP) address.public String getClusterRevisionNumber()
public void setClusterRevisionNumber(String clusterRevisionNumber)
clusterRevisionNumber
- The specific revision number of the database in the cluster.public Cluster withClusterRevisionNumber(String clusterRevisionNumber)
Returns a reference to this object so that method calls can be chained together.
clusterRevisionNumber
- The specific revision number of the database in the cluster.public List<Tag> getTags()
public void setTags(Collection<Tag> tags)
tags
- The list of tags for the cluster.public Cluster withTags(Tag... tags)
NOTE: This method appends the values to the existing list (if
any). Use setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the existing
values.
Returns a reference to this object so that method calls can be chained together.
tags
- The list of tags for the cluster.public Cluster withTags(Collection<Tag> tags)
Returns a reference to this object so that method calls can be chained together.
tags
- The list of tags for the cluster.public String getKmsKeyId()
public void setKmsKeyId(String kmsKeyId)
kmsKeyId
- The AWS Key Management Service (KMS) key ID of the encryption key used
to encrypt data in the cluster.public Cluster withKmsKeyId(String kmsKeyId)
Returns a reference to this object so that method calls can be chained together.
kmsKeyId
- The AWS Key Management Service (KMS) key ID of the encryption key used
to encrypt data in the cluster.public String toString()
toString
in class Object
Object.toString()
Copyright © 2015. All rights reserved.