Did this page help you?

   Yes   No   Tell us about it...

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<ClusterParameterGroupStatus> getClusterParameterGroups()
          The list of cluster parameter groups that are associated with this cluster.
 List<ClusterSecurityGroupMembership> getClusterSecurityGroups()
          A list of cluster security group that are associated with the cluster.
 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.
 Boolean getEncrypted()
          If true, data in cluster is encrypted at rest.
 Endpoint getEndpoint()
          The connection endpoint.
 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.
 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 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 setClusterParameterGroups(Collection<ClusterParameterGroupStatus> clusterParameterGroups)
          The list of cluster parameter groups that are associated with this cluster.
 void setClusterSecurityGroups(Collection<ClusterSecurityGroupMembership> clusterSecurityGroups)
          A list of cluster security group that are associated with the cluster.
 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 setEncrypted(Boolean encrypted)
          If true, data in cluster is encrypted at rest.
 void setEndpoint(Endpoint endpoint)
          The connection endpoint.
 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 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 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 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 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 withEncrypted(Boolean encrypted)
          If true, data in cluster is encrypted at rest.
 Cluster withEndpoint(Endpoint endpoint)
          The connection endpoint.
 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 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
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, and resizing.

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

setClusterStatus

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

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

withClusterStatus

public Cluster withClusterStatus(String clusterStatus)
The current state of this cluster. Possible values include available, creating, deleting, rebooting, 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, 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 cluster is encrypted at rest.

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

setEncrypted

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

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

withEncrypted

public Cluster withEncrypted(Boolean encrypted)
If true, data in 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 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 cluster is encrypted at rest.

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

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 © 2010 Amazon Web Services, Inc. All Rights Reserved.