com.amazonaws.services.redshift.model
Class Cluster

java.lang.Object
  extended by com.amazonaws.services.redshift.model.Cluster
All Implemented Interfaces:
Serializable

public class Cluster
extends Object
implements Serializable

Describes a cluster.

See Also:
Serialized Form

Constructor Summary
Cluster()
           
 
Method Summary
 boolean equals(Object obj)
           
 Boolean getAllowVersionUpgrade()
          If true, 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 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.
 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, 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, 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 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 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, 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 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 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.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Cluster

public Cluster()
Method Detail

getClusterIdentifier

public String getClusterIdentifier()
The unique identifier of the cluster.

Returns:
The unique identifier of the cluster.

setClusterIdentifier

public void setClusterIdentifier(String clusterIdentifier)
The unique identifier of the cluster.

Parameters:
clusterIdentifier - The unique identifier of the cluster.

withClusterIdentifier

public Cluster withClusterIdentifier(String clusterIdentifier)
The unique identifier of the cluster.

Returns a reference to this object so that method calls can be chained together.

Parameters:
clusterIdentifier - The unique identifier of the cluster.
Returns:
A reference to this updated object so that method calls can be chained together.

getNodeType

public String getNodeType()
The node type for the nodes in the cluster.

Returns:
The node type for the nodes in the cluster.

setNodeType

public void setNodeType(String nodeType)
The node type for the nodes in the cluster.

Parameters:
nodeType - The node type for the nodes in the cluster.

withNodeType

public Cluster withNodeType(String nodeType)
The node type for the nodes in the cluster.

Returns a reference to this object so that method calls can be chained together.

Parameters:
nodeType - The node type for the nodes in the cluster.
Returns:
A reference to this updated object so that method calls can be chained together.

getClusterStatus

public String getClusterStatus()
The current state of this cluster. Possible values include available, creating, deleting, rebooting, renaming, and resizing.

Returns:
The current state of this cluster. Possible values include available, creating, deleting, rebooting, renaming, and resizing.

setClusterStatus

public void setClusterStatus(String clusterStatus)
The current state of this cluster. Possible values include available, creating, deleting, rebooting, renaming, and resizing.

Parameters:
clusterStatus - The current state of this cluster. Possible values include available, creating, deleting, rebooting, renaming, and resizing.

withClusterStatus

public Cluster withClusterStatus(String clusterStatus)
The current state of this cluster. Possible values include available, creating, deleting, rebooting, renaming, and resizing.

Returns a reference to this object so that method calls can be chained together.

Parameters:
clusterStatus - The current state of this cluster. Possible values include available, creating, deleting, rebooting, renaming, and resizing.
Returns:
A reference to this updated object so that method calls can be chained together.

getModifyStatus

public String getModifyStatus()
The status of a modify operation, if any, initiated for the cluster.

Returns:
The status of a modify operation, if any, initiated for the cluster.

setModifyStatus

public void setModifyStatus(String modifyStatus)
The status of a modify operation, if any, initiated for the cluster.

Parameters:
modifyStatus - The status of a modify operation, if any, initiated for the cluster.

withModifyStatus

public Cluster withModifyStatus(String modifyStatus)
The status of a modify operation, if any, initiated for the cluster.

Returns a reference to this object so that method calls can be chained together.

Parameters:
modifyStatus - The status of a modify operation, if any, initiated for the cluster.
Returns:
A reference to this updated object so that method calls can be chained together.

getMasterUsername

public String getMasterUsername()
The master user name for the cluster. This name is used to connect to the database that is specified in DBName.

Returns:
The master user name for the cluster. This name is used to connect to the database that is specified in DBName.

setMasterUsername

public void setMasterUsername(String masterUsername)
The master user name for the cluster. This name is used to connect to the database that is specified in DBName.

Parameters:
masterUsername - The master user name for the cluster. This name is used to connect to the database that is specified in DBName.

withMasterUsername

public Cluster withMasterUsername(String masterUsername)
The master user name for the cluster. This name is used to connect to the database that is specified in DBName.

Returns a reference to this object so that method calls can be chained together.

Parameters:
masterUsername - The master user name for the cluster. This name is used to connect to the database that is specified in DBName.
Returns:
A reference to this updated object so that method calls can be chained together.

getDBName

public String getDBName()
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.

Returns:
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.

setDBName

public void setDBName(String 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.

Parameters:
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.

withDBName

public Cluster withDBName(String 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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
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.
Returns:
A reference to this updated object so that method calls can be chained together.

getEndpoint

public Endpoint getEndpoint()
The connection endpoint.

Returns:
The connection endpoint.

setEndpoint

public void setEndpoint(Endpoint endpoint)
The connection endpoint.

Parameters:
endpoint - The connection endpoint.

withEndpoint

public Cluster withEndpoint(Endpoint endpoint)
The connection endpoint.

Returns a reference to this object so that method calls can be chained together.

Parameters:
endpoint - The connection endpoint.
Returns:
A reference to this updated object so that method calls can be chained together.

getClusterCreateTime

public Date getClusterCreateTime()
The date and time that the cluster was created.

Returns:
The date and time that the cluster was created.

setClusterCreateTime

public void setClusterCreateTime(Date clusterCreateTime)
The date and time that the cluster was created.

Parameters:
clusterCreateTime - The date and time that the cluster was created.

withClusterCreateTime

public Cluster withClusterCreateTime(Date clusterCreateTime)
The date and time that the cluster was created.

Returns a reference to this object so that method calls can be chained together.

Parameters:
clusterCreateTime - The date and time that the cluster was created.
Returns:
A reference to this updated object so that method calls can be chained together.

getAutomatedSnapshotRetentionPeriod

public Integer getAutomatedSnapshotRetentionPeriod()
The number of days that automatic cluster snapshots are retained.

Returns:
The number of days that automatic cluster snapshots are retained.

setAutomatedSnapshotRetentionPeriod

public void setAutomatedSnapshotRetentionPeriod(Integer automatedSnapshotRetentionPeriod)
The number of days that automatic cluster snapshots are retained.

Parameters:
automatedSnapshotRetentionPeriod - The number of days that automatic cluster snapshots are retained.

withAutomatedSnapshotRetentionPeriod

public Cluster withAutomatedSnapshotRetentionPeriod(Integer automatedSnapshotRetentionPeriod)
The number of days that automatic cluster snapshots are retained.

Returns a reference to this object so that method calls can be chained together.

Parameters:
automatedSnapshotRetentionPeriod - The number of days that automatic cluster snapshots are retained.
Returns:
A reference to this updated object so that method calls can be chained together.

getClusterSecurityGroups

public List<ClusterSecurityGroupMembership> getClusterSecurityGroups()
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.

Returns:
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.


setClusterSecurityGroups

public void setClusterSecurityGroups(Collection<ClusterSecurityGroupMembership> 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.

Parameters:
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.


withClusterSecurityGroups

public Cluster withClusterSecurityGroups(ClusterSecurityGroupMembership... 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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
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.

Returns:
A reference to this updated object so that method calls can be chained together.

withClusterSecurityGroups

public Cluster withClusterSecurityGroups(Collection<ClusterSecurityGroupMembership> 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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
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.

Returns:
A reference to this updated object so that method calls can be chained together.

getVpcSecurityGroups

public List<VpcSecurityGroupMembership> getVpcSecurityGroups()
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.

Returns:
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.

setVpcSecurityGroups

public void setVpcSecurityGroups(Collection<VpcSecurityGroupMembership> 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.

Parameters:
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.

withVpcSecurityGroups

public Cluster withVpcSecurityGroups(VpcSecurityGroupMembership... 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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
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.
Returns:
A reference to this updated object so that method calls can be chained together.

withVpcSecurityGroups

public Cluster withVpcSecurityGroups(Collection<VpcSecurityGroupMembership> 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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
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.
Returns:
A reference to this updated object so that method calls can be chained together.

getClusterParameterGroups

public List<ClusterParameterGroupStatus> getClusterParameterGroups()
The list of cluster parameter groups that are associated with this cluster.

Returns:
The list of cluster parameter groups that are associated with this cluster.

setClusterParameterGroups

public void setClusterParameterGroups(Collection<ClusterParameterGroupStatus> clusterParameterGroups)
The list of cluster parameter groups that are associated with this cluster.

Parameters:
clusterParameterGroups - The list of cluster parameter groups that are associated with this cluster.

withClusterParameterGroups

public Cluster withClusterParameterGroups(ClusterParameterGroupStatus... clusterParameterGroups)
The list of cluster parameter groups that are associated with this cluster.

Returns a reference to this object so that method calls can be chained together.

Parameters:
clusterParameterGroups - The list of cluster parameter groups that are associated with this cluster.
Returns:
A reference to this updated object so that method calls can be chained together.

withClusterParameterGroups

public Cluster withClusterParameterGroups(Collection<ClusterParameterGroupStatus> clusterParameterGroups)
The list of cluster parameter groups that are associated with this cluster.

Returns a reference to this object so that method calls can be chained together.

Parameters:
clusterParameterGroups - The list of cluster parameter groups that are associated with this cluster.
Returns:
A reference to this updated object so that method calls can be chained together.

getClusterSubnetGroupName

public String getClusterSubnetGroupName()
The name of the subnet group that is associated with the cluster. This parameter is valid only when the cluster is in a VPC.

Returns:
The name of the subnet group that is associated with the cluster. This parameter is valid only when the cluster is in a VPC.

setClusterSubnetGroupName

public void setClusterSubnetGroupName(String 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.

Parameters:
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.

withClusterSubnetGroupName

public Cluster withClusterSubnetGroupName(String 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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
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.
Returns:
A reference to this updated object so that method calls can be chained together.

getVpcId

public String getVpcId()
The identifier of the VPC the cluster is in, if the cluster is in a VPC.

Returns:
The identifier of the VPC the cluster is in, if the cluster is in a VPC.

setVpcId

public void setVpcId(String vpcId)
The identifier of the VPC the cluster is in, if the cluster is in a VPC.

Parameters:
vpcId - The identifier of the VPC the cluster is in, if the cluster is in a VPC.

withVpcId

public Cluster withVpcId(String vpcId)
The identifier of the VPC the cluster is in, if the cluster is in a VPC.

Returns a reference to this object so that method calls can be chained together.

Parameters:
vpcId - The identifier of the VPC the cluster is in, if the cluster is in a VPC.
Returns:
A reference to this updated object so that method calls can be chained together.

getAvailabilityZone

public String getAvailabilityZone()
The name of the Availability Zone in which the cluster is located.

Returns:
The name of the Availability Zone in which the cluster is located.

setAvailabilityZone

public void setAvailabilityZone(String availabilityZone)
The name of the Availability Zone in which the cluster is located.

Parameters:
availabilityZone - The name of the Availability Zone in which the cluster is located.

withAvailabilityZone

public Cluster withAvailabilityZone(String availabilityZone)
The name of the Availability Zone in which the cluster is located.

Returns a reference to this object so that method calls can be chained together.

Parameters:
availabilityZone - The name of the Availability Zone in which the cluster is located.
Returns:
A reference to this updated object so that method calls can be chained together.

getPreferredMaintenanceWindow

public String getPreferredMaintenanceWindow()
The weekly time range (in UTC) during which system maintenance can occur.

Returns:
The weekly time range (in UTC) during which system maintenance can occur.

setPreferredMaintenanceWindow

public void setPreferredMaintenanceWindow(String preferredMaintenanceWindow)
The weekly time range (in UTC) during which system maintenance can occur.

Parameters:
preferredMaintenanceWindow - The weekly time range (in UTC) during which system maintenance can occur.

withPreferredMaintenanceWindow

public Cluster withPreferredMaintenanceWindow(String preferredMaintenanceWindow)
The weekly time range (in UTC) during which system maintenance can occur.

Returns a reference to this object so that method calls can be chained together.

Parameters:
preferredMaintenanceWindow - The weekly time range (in UTC) during which system maintenance can occur.
Returns:
A reference to this updated object so that method calls can be chained together.

getPendingModifiedValues

public PendingModifiedValues getPendingModifiedValues()
If present, changes to the cluster are pending. Specific pending changes are identified by subelements.

Returns:
If present, changes to the cluster are pending. Specific pending changes are identified by subelements.

setPendingModifiedValues

public void setPendingModifiedValues(PendingModifiedValues pendingModifiedValues)
If present, changes to the cluster are pending. Specific pending changes are identified by subelements.

Parameters:
pendingModifiedValues - If present, changes to the cluster are pending. Specific pending changes are identified by subelements.

withPendingModifiedValues

public Cluster withPendingModifiedValues(PendingModifiedValues pendingModifiedValues)
If present, changes to the cluster are pending. Specific pending changes are identified by subelements.

Returns a reference to this object so that method calls can be chained together.

Parameters:
pendingModifiedValues - If present, changes to the cluster are pending. Specific pending changes are identified by subelements.
Returns:
A reference to this updated object so that method calls can be chained together.

getClusterVersion

public String getClusterVersion()
The version ID of the Amazon Redshift engine that is running on the cluster.

Returns:
The version ID of the Amazon Redshift engine that is running on the cluster.

setClusterVersion

public void setClusterVersion(String clusterVersion)
The version ID of the Amazon Redshift engine that is running on the cluster.

Parameters:
clusterVersion - The version ID of the Amazon Redshift engine that is running on the cluster.

withClusterVersion

public Cluster withClusterVersion(String clusterVersion)
The version ID of the Amazon Redshift engine that is running on the cluster.

Returns a reference to this object so that method calls can be chained together.

Parameters:
clusterVersion - The version ID of the Amazon Redshift engine that is running on the cluster.
Returns:
A reference to this updated object so that method calls can be chained together.

isAllowVersionUpgrade

public Boolean isAllowVersionUpgrade()
If true, version upgrades will be applied automatically to the cluster during the maintenance window.

Returns:
If true, version upgrades will be applied automatically to the cluster during the maintenance window.

setAllowVersionUpgrade

public void setAllowVersionUpgrade(Boolean allowVersionUpgrade)
If true, version upgrades will be applied automatically to the cluster during the maintenance window.

Parameters:
allowVersionUpgrade - If true, version upgrades will be applied automatically to the cluster during the maintenance window.

withAllowVersionUpgrade

public Cluster withAllowVersionUpgrade(Boolean allowVersionUpgrade)
If true, 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.

Parameters:
allowVersionUpgrade - If true, version upgrades will be applied automatically to the cluster during the maintenance window.
Returns:
A reference to this updated object so that method calls can be chained together.

getAllowVersionUpgrade

public Boolean getAllowVersionUpgrade()
If true, version upgrades will be applied automatically to the cluster during the maintenance window.

Returns:
If true, version upgrades will be applied automatically to the cluster during the maintenance window.

getNumberOfNodes

public Integer getNumberOfNodes()
The number of compute nodes in the cluster.

Returns:
The number of compute nodes in the cluster.

setNumberOfNodes

public void setNumberOfNodes(Integer numberOfNodes)
The number of compute nodes in the cluster.

Parameters:
numberOfNodes - The number of compute nodes in the cluster.

withNumberOfNodes

public Cluster withNumberOfNodes(Integer numberOfNodes)
The number of compute nodes in the cluster.

Returns a reference to this object so that method calls can be chained together.

Parameters:
numberOfNodes - The number of compute nodes in the cluster.
Returns:
A reference to this updated object so that method calls can be chained together.

isPubliclyAccessible

public Boolean isPubliclyAccessible()
If true, the cluster can be accessed from a public network.

Returns:
If true, the cluster can be accessed from a public network.

setPubliclyAccessible

public void setPubliclyAccessible(Boolean publiclyAccessible)
If true, the cluster can be accessed from a public network.

Parameters:
publiclyAccessible - If true, the cluster can be accessed from a public network.

withPubliclyAccessible

public Cluster withPubliclyAccessible(Boolean publiclyAccessible)
If true, the cluster can be accessed from a public network.

Returns a reference to this object so that method calls can be chained together.

Parameters:
publiclyAccessible - If true, the cluster can be accessed from a public network.
Returns:
A reference to this updated object so that method calls can be chained together.

getPubliclyAccessible

public Boolean getPubliclyAccessible()
If true, the cluster can be accessed from a public network.

Returns:
If true, the cluster can be accessed from a public network.

isEncrypted

public Boolean isEncrypted()
If true, data in the cluster is encrypted at rest.

Returns:
If true, data in the cluster is encrypted at rest.

setEncrypted

public void setEncrypted(Boolean encrypted)
If true, data in the cluster is encrypted at rest.

Parameters:
encrypted - If true, data in the cluster is encrypted at rest.

withEncrypted

public Cluster withEncrypted(Boolean encrypted)
If true, data in the cluster is encrypted at rest.

Returns a reference to this object so that method calls can be chained together.

Parameters:
encrypted - If true, data in the cluster is encrypted at rest.
Returns:
A reference to this updated object so that method calls can be chained together.

getEncrypted

public Boolean getEncrypted()
If true, data in the cluster is encrypted at rest.

Returns:
If true, data in the cluster is encrypted at rest.

getRestoreStatus

public RestoreStatus getRestoreStatus()
Describes the status of a cluster restore action. Returns null if the cluster was not created by restoring a snapshot.

Returns:
Describes the status of a cluster restore action. Returns null if the cluster was not created by restoring a snapshot.

setRestoreStatus

public void setRestoreStatus(RestoreStatus restoreStatus)
Describes the status of a cluster restore action. Returns null if the cluster was not created by restoring a snapshot.

Parameters:
restoreStatus - Describes the status of a cluster restore action. Returns null if the cluster was not created by restoring a snapshot.

withRestoreStatus

public Cluster withRestoreStatus(RestoreStatus restoreStatus)
Describes the status of a cluster restore action. Returns null if the cluster was not created by restoring a snapshot.

Returns a reference to this object so that method calls can be chained together.

Parameters:
restoreStatus - Describes the status of a cluster restore action. Returns null if the cluster was not created by restoring a snapshot.
Returns:
A reference to this updated object so that method calls can be chained together.

getHsmStatus

public HsmStatus getHsmStatus()
Reports whether the Amazon Redshift cluster has finished applying any HSM settings changes specified in a modify cluster command.

Values: active, applying

Returns:
Reports whether the Amazon Redshift cluster has finished applying any HSM settings changes specified in a modify cluster command.

Values: active, applying


setHsmStatus

public void setHsmStatus(HsmStatus hsmStatus)
Reports whether the Amazon Redshift cluster has finished applying any HSM settings changes specified in a modify cluster command.

Values: active, applying

Parameters:
hsmStatus - Reports whether the Amazon Redshift cluster has finished applying any HSM settings changes specified in a modify cluster command.

Values: active, applying


withHsmStatus

public Cluster withHsmStatus(HsmStatus hsmStatus)
Reports whether the Amazon Redshift cluster has finished applying any HSM settings changes specified in a modify cluster command.

Values: active, applying

Returns a reference to this object so that method calls can be chained together.

Parameters:
hsmStatus - Reports whether the Amazon Redshift cluster has finished applying any HSM settings changes specified in a modify cluster command.

Values: active, applying

Returns:
A reference to this updated object so that method calls can be chained together.

getClusterSnapshotCopyStatus

public ClusterSnapshotCopyStatus getClusterSnapshotCopyStatus()
Returns the destination region and retention period that are configured for cross-region snapshot copy.

Returns:
Returns the destination region and retention period that are configured for cross-region snapshot copy.

setClusterSnapshotCopyStatus

public void setClusterSnapshotCopyStatus(ClusterSnapshotCopyStatus clusterSnapshotCopyStatus)
Returns the destination region and retention period that are configured for cross-region snapshot copy.

Parameters:
clusterSnapshotCopyStatus - Returns the destination region and retention period that are configured for cross-region snapshot copy.

withClusterSnapshotCopyStatus

public Cluster withClusterSnapshotCopyStatus(ClusterSnapshotCopyStatus clusterSnapshotCopyStatus)
Returns the destination region and retention period that are configured for cross-region snapshot copy.

Returns a reference to this object so that method calls can be chained together.

Parameters:
clusterSnapshotCopyStatus - Returns the destination region and retention period that are configured for cross-region snapshot copy.
Returns:
A reference to this updated object so that method calls can be chained together.

getClusterPublicKey

public String getClusterPublicKey()
The public key for the cluster.

Returns:
The public key for the cluster.

setClusterPublicKey

public void setClusterPublicKey(String clusterPublicKey)
The public key for the cluster.

Parameters:
clusterPublicKey - The public key for the cluster.

withClusterPublicKey

public Cluster withClusterPublicKey(String clusterPublicKey)
The public key for the cluster.

Returns a reference to this object so that method calls can be chained together.

Parameters:
clusterPublicKey - The public key for the cluster.
Returns:
A reference to this updated object so that method calls can be chained together.

getClusterNodes

public List<ClusterNode> getClusterNodes()
The nodes in a cluster.

Returns:
The nodes in a cluster.

setClusterNodes

public void setClusterNodes(Collection<ClusterNode> clusterNodes)
The nodes in a cluster.

Parameters:
clusterNodes - The nodes in a cluster.

withClusterNodes

public Cluster withClusterNodes(ClusterNode... clusterNodes)
The nodes in a cluster.

Returns a reference to this object so that method calls can be chained together.

Parameters:
clusterNodes - The nodes in a cluster.
Returns:
A reference to this updated object so that method calls can be chained together.

withClusterNodes

public Cluster withClusterNodes(Collection<ClusterNode> clusterNodes)
The nodes in a cluster.

Returns a reference to this object so that method calls can be chained together.

Parameters:
clusterNodes - The nodes in a cluster.
Returns:
A reference to this updated object so that method calls can be chained together.

getElasticIpStatus

public ElasticIpStatus getElasticIpStatus()
Describes the status of the elastic IP (EIP) address.

Returns:
Describes the status of the elastic IP (EIP) address.

setElasticIpStatus

public void setElasticIpStatus(ElasticIpStatus elasticIpStatus)
Describes the status of the elastic IP (EIP) address.

Parameters:
elasticIpStatus - Describes the status of the elastic IP (EIP) address.

withElasticIpStatus

public Cluster withElasticIpStatus(ElasticIpStatus elasticIpStatus)
Describes the status of the elastic IP (EIP) address.

Returns a reference to this object so that method calls can be chained together.

Parameters:
elasticIpStatus - Describes the status of the elastic IP (EIP) address.
Returns:
A reference to this updated object so that method calls can be chained together.

getClusterRevisionNumber

public String getClusterRevisionNumber()
The specific revision number of the database in the cluster.

Returns:
The specific revision number of the database in the cluster.

setClusterRevisionNumber

public void setClusterRevisionNumber(String clusterRevisionNumber)
The specific revision number of the database in the cluster.

Parameters:
clusterRevisionNumber - The specific revision number of the database in the cluster.

withClusterRevisionNumber

public Cluster withClusterRevisionNumber(String clusterRevisionNumber)
The specific revision number of the database in the cluster.

Returns a reference to this object so that method calls can be chained together.

Parameters:
clusterRevisionNumber - The specific revision number of the database in the cluster.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2016. All rights reserved.