Class Cluster
- All Implemented Interfaces:
Serializable
,Cloneable
Describes a cluster.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Iftrue
, major version upgrades will be applied automatically to the cluster during the maintenance window.The number of days that automatic cluster snapshots are retained.The name of the Availability Zone in which the cluster is located.The date and time that the cluster was created.The unique identifier of the cluster.The nodes in a cluster.The list of cluster parameter groups that are associated with this cluster.The public key for the cluster.The specific revision number of the database in the cluster.A list of cluster security group that are associated with the cluster.Returns the destination region and retention period that are configured for cross-region snapshot copy.The current state of the cluster.The name of the subnet group that is associated with the cluster.The version ID of the Amazon Redshift engine that is running on the cluster.The name of the initial database that was created when the cluster was created.The status of the elastic IP (EIP) address.Iftrue
, data in the cluster is encrypted at rest.The connection endpoint.Reports whether the Amazon Redshift cluster has finished applying any HSM settings changes specified in a modify cluster command.A list of AWS Identity and Access Management (IAM) roles that can be used by the cluster to access other AWS services.The AWS Key Management Service (KMS) key ID of the encryption key used to encrypt data in the cluster.The master user name for the cluster.The status of a modify operation, if any, initiated for the cluster.The node type for the nodes in the cluster.The number of compute nodes in the cluster.If present, changes to the cluster are pending.The weekly time range (in UTC) during which system maintenance can occur.Iftrue
, the cluster can be accessed from a public network.Describes the status of a cluster restore action.getTags()
The list of tags for the cluster.getVpcId()
The identifier of the VPC the cluster is in, if the cluster is in a VPC.A list of Virtual Private Cloud (VPC) security groups that are associated with the cluster.int
hashCode()
Iftrue
, major version upgrades will be applied automatically to the cluster during the maintenance window.Iftrue
, data in the cluster is encrypted at rest.Iftrue
, the cluster can be accessed from a public network.void
setAllowVersionUpgrade
(Boolean allowVersionUpgrade) Iftrue
, 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 the 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
The name of the initial database that was created when the cluster was created.void
setElasticIpStatus
(ElasticIpStatus elasticIpStatus) The status of the elastic IP (EIP) address.void
setEncrypted
(Boolean encrypted) Iftrue
, 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
setIamRoles
(Collection<ClusterIamRole> iamRoles) A list of AWS Identity and Access Management (IAM) roles that can be used by the cluster to access other AWS services.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) Iftrue
, 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
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.toString()
Returns a string representation of this object; useful for testing and debugging.withAllowVersionUpgrade
(Boolean allowVersionUpgrade) Iftrue
, major version upgrades will be applied automatically to the cluster during the maintenance window.withAutomatedSnapshotRetentionPeriod
(Integer automatedSnapshotRetentionPeriod) The number of days that automatic cluster snapshots are retained.withAvailabilityZone
(String availabilityZone) The name of the Availability Zone in which the cluster is located.withClusterCreateTime
(Date clusterCreateTime) The date and time that the cluster was created.withClusterIdentifier
(String clusterIdentifier) The unique identifier of the cluster.withClusterNodes
(ClusterNode... clusterNodes) The nodes in a cluster.withClusterNodes
(Collection<ClusterNode> clusterNodes) The nodes in a cluster.withClusterParameterGroups
(ClusterParameterGroupStatus... clusterParameterGroups) The list of cluster parameter groups that are associated with this cluster.withClusterParameterGroups
(Collection<ClusterParameterGroupStatus> clusterParameterGroups) The list of cluster parameter groups that are associated with this cluster.withClusterPublicKey
(String clusterPublicKey) The public key for the cluster.withClusterRevisionNumber
(String clusterRevisionNumber) The specific revision number of the database in the cluster.withClusterSecurityGroups
(ClusterSecurityGroupMembership... clusterSecurityGroups) A list of cluster security group that are associated with the cluster.withClusterSecurityGroups
(Collection<ClusterSecurityGroupMembership> clusterSecurityGroups) A list of cluster security group that are associated with the cluster.withClusterSnapshotCopyStatus
(ClusterSnapshotCopyStatus clusterSnapshotCopyStatus) Returns the destination region and retention period that are configured for cross-region snapshot copy.withClusterStatus
(String clusterStatus) The current state of the cluster.withClusterSubnetGroupName
(String clusterSubnetGroupName) The name of the subnet group that is associated with the cluster.withClusterVersion
(String clusterVersion) The version ID of the Amazon Redshift engine that is running on the cluster.withDBName
(String dBName) The name of the initial database that was created when the cluster was created.withElasticIpStatus
(ElasticIpStatus elasticIpStatus) The status of the elastic IP (EIP) address.withEncrypted
(Boolean encrypted) Iftrue
, data in the cluster is encrypted at rest.withEndpoint
(Endpoint endpoint) The connection endpoint.withHsmStatus
(HsmStatus hsmStatus) Reports whether the Amazon Redshift cluster has finished applying any HSM settings changes specified in a modify cluster command.withIamRoles
(ClusterIamRole... iamRoles) A list of AWS Identity and Access Management (IAM) roles that can be used by the cluster to access other AWS services.withIamRoles
(Collection<ClusterIamRole> iamRoles) A list of AWS Identity and Access Management (IAM) roles that can be used by the cluster to access other AWS services.withKmsKeyId
(String kmsKeyId) The AWS Key Management Service (KMS) key ID of the encryption key used to encrypt data in the cluster.withMasterUsername
(String masterUsername) The master user name for the cluster.withModifyStatus
(String modifyStatus) The status of a modify operation, if any, initiated for the cluster.withNodeType
(String nodeType) The node type for the nodes in the cluster.withNumberOfNodes
(Integer numberOfNodes) The number of compute nodes in the cluster.withPendingModifiedValues
(PendingModifiedValues pendingModifiedValues) If present, changes to the cluster are pending.withPreferredMaintenanceWindow
(String preferredMaintenanceWindow) The weekly time range (in UTC) during which system maintenance can occur.withPubliclyAccessible
(Boolean publiclyAccessible) Iftrue
, the cluster can be accessed from a public network.withRestoreStatus
(RestoreStatus restoreStatus) Describes the status of a cluster restore action.The list of tags for the cluster.withTags
(Collection<Tag> tags) The list of tags for the cluster.The identifier of the VPC the cluster is in, if the cluster is in a VPC.withVpcSecurityGroups
(VpcSecurityGroupMembership... vpcSecurityGroups) A list of Virtual Private Cloud (VPC) security groups that are associated with the cluster.withVpcSecurityGroups
(Collection<VpcSecurityGroupMembership> vpcSecurityGroups) A list of Virtual Private Cloud (VPC) security groups that are associated with the cluster.
-
Constructor Details
-
Cluster
public Cluster()
-
-
Method Details
-
setClusterIdentifier
The unique identifier of the cluster.
- Parameters:
clusterIdentifier
- The unique identifier of the cluster.
-
getClusterIdentifier
The unique identifier of the cluster.
- Returns:
- The unique identifier of the cluster.
-
withClusterIdentifier
The unique identifier of the cluster.
- Parameters:
clusterIdentifier
- The unique identifier of the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNodeType
The node type for the nodes in the cluster.
- Parameters:
nodeType
- The node type for the nodes in the cluster.
-
getNodeType
The node type for the nodes in the cluster.
- Returns:
- The node type for the nodes in the cluster.
-
withNodeType
The node type for the nodes in the cluster.
- Parameters:
nodeType
- The node type for the nodes in the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setClusterStatus
The current state of the cluster. Possible values are:
available
creating
deleting
final-snapshot
hardware-failure
incompatible-hsm
incompatible-network
incompatible-parameters
incompatible-restore
modifying
rebooting
renaming
resizing
rotating-keys
storage-full
updating-hsm
- Parameters:
clusterStatus
- The current state of the cluster. Possible values are:available
creating
deleting
final-snapshot
hardware-failure
incompatible-hsm
incompatible-network
incompatible-parameters
incompatible-restore
modifying
rebooting
renaming
resizing
rotating-keys
storage-full
updating-hsm
-
getClusterStatus
The current state of the cluster. Possible values are:
available
creating
deleting
final-snapshot
hardware-failure
incompatible-hsm
incompatible-network
incompatible-parameters
incompatible-restore
modifying
rebooting
renaming
resizing
rotating-keys
storage-full
updating-hsm
- Returns:
- The current state of the cluster. Possible values are:
available
creating
deleting
final-snapshot
hardware-failure
incompatible-hsm
incompatible-network
incompatible-parameters
incompatible-restore
modifying
rebooting
renaming
resizing
rotating-keys
storage-full
updating-hsm
-
withClusterStatus
The current state of the cluster. Possible values are:
available
creating
deleting
final-snapshot
hardware-failure
incompatible-hsm
incompatible-network
incompatible-parameters
incompatible-restore
modifying
rebooting
renaming
resizing
rotating-keys
storage-full
updating-hsm
- Parameters:
clusterStatus
- The current state of the cluster. Possible values are:available
creating
deleting
final-snapshot
hardware-failure
incompatible-hsm
incompatible-network
incompatible-parameters
incompatible-restore
modifying
rebooting
renaming
resizing
rotating-keys
storage-full
updating-hsm
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setModifyStatus
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.
-
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.
-
withModifyStatus
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMasterUsername
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.
-
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.
-
withMasterUsername
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDBName
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.
-
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.
-
withDBName
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEndpoint
The connection endpoint.
- Parameters:
endpoint
- The connection endpoint.
-
getEndpoint
The connection endpoint.
- Returns:
- The connection endpoint.
-
withEndpoint
The connection endpoint.
- Parameters:
endpoint
- The connection endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setClusterCreateTime
The date and time that the cluster was created.
- Parameters:
clusterCreateTime
- The date and time that the cluster was created.
-
getClusterCreateTime
The date and time that the cluster was created.
- Returns:
- The date and time that the cluster was created.
-
withClusterCreateTime
The date and time that the cluster was created.
- Parameters:
clusterCreateTime
- The date and time that the cluster was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAutomatedSnapshotRetentionPeriod
The number of days that automatic cluster snapshots are retained.
- Parameters:
automatedSnapshotRetentionPeriod
- The number of days that automatic cluster snapshots are retained.
-
getAutomatedSnapshotRetentionPeriod
The number of days that automatic cluster snapshots are retained.
- Returns:
- The number of days that automatic cluster snapshots are retained.
-
withAutomatedSnapshotRetentionPeriod
The number of days that automatic cluster snapshots are retained.
- Parameters:
automatedSnapshotRetentionPeriod
- The number of days that automatic cluster snapshots are retained.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
andClusterSecurityGroup.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
andClusterSecurityGroup.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
andClusterSecurityGroup.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 containsClusterSecurityGroup.Name
andClusterSecurityGroup.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
A list of cluster security group that are associated with the cluster. Each security group is represented by an element that contains
ClusterSecurityGroup.Name
andClusterSecurityGroup.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)
orwithClusterSecurityGroups(java.util.Collection)
if you want to override the existing values.- Parameters:
clusterSecurityGroups
- A list of cluster security group that are associated with the cluster. Each security group is represented by an element that containsClusterSecurityGroup.Name
andClusterSecurityGroup.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:
- Returns a reference to this 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
andClusterSecurityGroup.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 containsClusterSecurityGroup.Name
andClusterSecurityGroup.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:
- Returns a reference to this object so that method calls can be chained together.
-
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
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
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.
NOTE: This method appends the values to the existing list (if any). Use
setVpcSecurityGroups(java.util.Collection)
orwithVpcSecurityGroups(java.util.Collection)
if you want to override the existing values.- 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:
- Returns a reference to this object so that method calls can be chained together.
-
withVpcSecurityGroups
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getClusterParameterGroups
The list of cluster parameter groups that are associated with this cluster. Each parameter group in the list is returned with its status.
- Returns:
- The list of cluster parameter groups that are associated with this cluster. Each parameter group in the list is returned with its status.
-
setClusterParameterGroups
public void setClusterParameterGroups(Collection<ClusterParameterGroupStatus> clusterParameterGroups) The list of cluster parameter groups that are associated with this cluster. Each parameter group in the list is returned with its status.
- Parameters:
clusterParameterGroups
- The list of cluster parameter groups that are associated with this cluster. Each parameter group in the list is returned with its status.
-
withClusterParameterGroups
The list of cluster parameter groups that are associated with this cluster. Each parameter group in the list is returned with its status.
NOTE: This method appends the values to the existing list (if any). Use
setClusterParameterGroups(java.util.Collection)
orwithClusterParameterGroups(java.util.Collection)
if you want to override the existing values.- Parameters:
clusterParameterGroups
- The list of cluster parameter groups that are associated with this cluster. Each parameter group in the list is returned with its status.- Returns:
- Returns a reference to this 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. Each parameter group in the list is returned with its status.
- Parameters:
clusterParameterGroups
- The list of cluster parameter groups that are associated with this cluster. Each parameter group in the list is returned with its status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setClusterSubnetGroupName
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.
-
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.
-
withClusterSubnetGroupName
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setVpcId
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.
-
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.
-
withVpcId
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAvailabilityZone
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.
-
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.
-
withAvailabilityZone
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPreferredMaintenanceWindow
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.
-
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.
-
withPreferredMaintenanceWindow
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPendingModifiedValues
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.
-
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.
-
withPendingModifiedValues
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setClusterVersion
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.
-
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.
-
withClusterVersion
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAllowVersionUpgrade
If
true
, major version upgrades will be applied automatically to the cluster during the maintenance window.- Parameters:
allowVersionUpgrade
- Iftrue
, major version upgrades will be applied automatically to the cluster during the maintenance window.
-
getAllowVersionUpgrade
If
true
, major version upgrades will be applied automatically to the cluster during the maintenance window.- Returns:
- If
true
, major version upgrades will be applied automatically to the cluster during the maintenance window.
-
withAllowVersionUpgrade
If
true
, major version upgrades will be applied automatically to the cluster during the maintenance window.- Parameters:
allowVersionUpgrade
- Iftrue
, major version upgrades will be applied automatically to the cluster during the maintenance window.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isAllowVersionUpgrade
If
true
, major version upgrades will be applied automatically to the cluster during the maintenance window.- Returns:
- If
true
, major version upgrades will be applied automatically to the cluster during the maintenance window.
-
setNumberOfNodes
The number of compute nodes in the cluster.
- Parameters:
numberOfNodes
- The number of compute nodes in the cluster.
-
getNumberOfNodes
The number of compute nodes in the cluster.
- Returns:
- The number of compute nodes in the cluster.
-
withNumberOfNodes
The number of compute nodes in the cluster.
- Parameters:
numberOfNodes
- The number of compute nodes in the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPubliclyAccessible
If
true
, the cluster can be accessed from a public network.- Parameters:
publiclyAccessible
- Iftrue
, the cluster can be accessed from a public network.
-
getPubliclyAccessible
If
true
, the cluster can be accessed from a public network.- Returns:
- If
true
, the cluster can be accessed from a public network.
-
withPubliclyAccessible
If
true
, the cluster can be accessed from a public network.- Parameters:
publiclyAccessible
- Iftrue
, the cluster can be accessed from a public network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isPubliclyAccessible
If
true
, the cluster can be accessed from a public network.- Returns:
- If
true
, the cluster can be accessed from a public network.
-
setEncrypted
If
true
, data in the cluster is encrypted at rest.- Parameters:
encrypted
- Iftrue
, data in the cluster is encrypted at rest.
-
getEncrypted
If
true
, data in the cluster is encrypted at rest.- Returns:
- If
true
, data in the cluster is encrypted at rest.
-
withEncrypted
If
true
, data in the cluster is encrypted at rest.- Parameters:
encrypted
- Iftrue
, data in the cluster is encrypted at rest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isEncrypted
If
true
, data in the cluster is encrypted at rest.- Returns:
- If
true
, data in the cluster is encrypted at rest.
-
setRestoreStatus
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.
-
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.
-
withRestoreStatus
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setHsmStatus
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
-
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
-
withHsmStatus
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
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setClusterSnapshotCopyStatus
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.
-
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.
-
withClusterSnapshotCopyStatus
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setClusterPublicKey
The public key for the cluster.
- Parameters:
clusterPublicKey
- The public key for the cluster.
-
getClusterPublicKey
The public key for the cluster.
- Returns:
- The public key for the cluster.
-
withClusterPublicKey
The public key for the cluster.
- Parameters:
clusterPublicKey
- The public key for the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getClusterNodes
The nodes in a cluster.
- Returns:
- The nodes in a cluster.
-
setClusterNodes
The nodes in a cluster.
- Parameters:
clusterNodes
- The nodes in a cluster.
-
withClusterNodes
The nodes in a cluster.
NOTE: This method appends the values to the existing list (if any). Use
setClusterNodes(java.util.Collection)
orwithClusterNodes(java.util.Collection)
if you want to override the existing values.- Parameters:
clusterNodes
- The nodes in a cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withClusterNodes
The nodes in a cluster.
- Parameters:
clusterNodes
- The nodes in a cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setElasticIpStatus
The status of the elastic IP (EIP) address.
- Parameters:
elasticIpStatus
- The status of the elastic IP (EIP) address.
-
getElasticIpStatus
The status of the elastic IP (EIP) address.
- Returns:
- The status of the elastic IP (EIP) address.
-
withElasticIpStatus
The status of the elastic IP (EIP) address.
- Parameters:
elasticIpStatus
- The status of the elastic IP (EIP) address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setClusterRevisionNumber
The specific revision number of the database in the cluster.
- Parameters:
clusterRevisionNumber
- The specific revision number of the database in the cluster.
-
getClusterRevisionNumber
The specific revision number of the database in the cluster.
- Returns:
- The specific revision number of the database in the cluster.
-
withClusterRevisionNumber
The specific revision number of the database in the cluster.
- Parameters:
clusterRevisionNumber
- The specific revision number of the database in the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getTags
The list of tags for the cluster.
- Returns:
- The list of tags for the cluster.
-
setTags
The list of tags for the cluster.
- Parameters:
tags
- The list of tags for the cluster.
-
withTags
The list of tags for the cluster.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
orwithTags(java.util.Collection)
if you want to override the existing values.- Parameters:
tags
- The list of tags for the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withTags
The list of tags for the cluster.
- Parameters:
tags
- The list of tags for the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setKmsKeyId
The AWS Key Management Service (KMS) key ID of the encryption key used to encrypt data in the cluster.
- Parameters:
kmsKeyId
- The AWS Key Management Service (KMS) key ID of the encryption key used to encrypt data in the cluster.
-
getKmsKeyId
The AWS Key Management Service (KMS) key ID of the encryption key used to encrypt data in the cluster.
- Returns:
- The AWS Key Management Service (KMS) key ID of the encryption key used to encrypt data in the cluster.
-
withKmsKeyId
The AWS Key Management Service (KMS) key ID of the encryption key used to encrypt data in the cluster.
- Parameters:
kmsKeyId
- The AWS Key Management Service (KMS) key ID of the encryption key used to encrypt data in the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getIamRoles
A list of AWS Identity and Access Management (IAM) roles that can be used by the cluster to access other AWS services.
- Returns:
- A list of AWS Identity and Access Management (IAM) roles that can be used by the cluster to access other AWS services.
-
setIamRoles
A list of AWS Identity and Access Management (IAM) roles that can be used by the cluster to access other AWS services.
- Parameters:
iamRoles
- A list of AWS Identity and Access Management (IAM) roles that can be used by the cluster to access other AWS services.
-
withIamRoles
A list of AWS Identity and Access Management (IAM) roles that can be used by the cluster to access other AWS services.
NOTE: This method appends the values to the existing list (if any). Use
setIamRoles(java.util.Collection)
orwithIamRoles(java.util.Collection)
if you want to override the existing values.- Parameters:
iamRoles
- A list of AWS Identity and Access Management (IAM) roles that can be used by the cluster to access other AWS services.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withIamRoles
A list of AWS Identity and Access Management (IAM) roles that can be used by the cluster to access other AWS services.
- Parameters:
iamRoles
- A list of AWS Identity and Access Management (IAM) roles that can be used by the cluster to access other AWS services.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-