shiver.me.timbers.aws.redshift.Cluster Maven / Gradle / Ivy
Show all versions of smt-cloudformation-objects Show documentation
package shiver.me.timbers.aws.redshift;
import java.util.ArrayList;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Set;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyDescription;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import shiver.me.timbers.aws.Property;
import shiver.me.timbers.aws.Tag;
/**
* Cluster
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html
*
*/
@JsonInclude(JsonInclude.Include.NON_EMPTY)
@JsonPropertyOrder({
"AllowVersionUpgrade",
"AutomatedSnapshotRetentionPeriod",
"AvailabilityZone",
"ClusterIdentifier",
"ClusterParameterGroupName",
"ClusterSecurityGroups",
"ClusterSubnetGroupName",
"ClusterType",
"ClusterVersion",
"DBName",
"ElasticIp",
"Encrypted",
"HsmClientCertificateIdentifier",
"HsmConfigurationIdentifier",
"IamRoles",
"KmsKeyId",
"LoggingProperties",
"MasterUserPassword",
"MasterUsername",
"NodeType",
"NumberOfNodes",
"OwnerAccount",
"Port",
"PreferredMaintenanceWindow",
"PubliclyAccessible",
"SnapshotClusterIdentifier",
"SnapshotIdentifier",
"Tags",
"VpcSecurityGroupIds"
})
public class Cluster {
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-allowversionupgrade
*
*/
@JsonProperty("AllowVersionUpgrade")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-allowversionupgrade")
private CharSequence allowVersionUpgrade;
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-automatedsnapshotretentionperiod
*
*/
@JsonProperty("AutomatedSnapshotRetentionPeriod")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-automatedsnapshotretentionperiod")
private Number automatedSnapshotRetentionPeriod;
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-availabilityzone
*
*/
@JsonProperty("AvailabilityZone")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-availabilityzone")
private CharSequence availabilityZone;
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-clusteridentifier
*
*/
@JsonProperty("ClusterIdentifier")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-clusteridentifier")
private CharSequence clusterIdentifier;
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-clusterparametergroupname
*
*/
@JsonProperty("ClusterParameterGroupName")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-clusterparametergroupname")
private CharSequence clusterParameterGroupName;
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-clustersecuritygroups
*
*/
@JsonProperty("ClusterSecurityGroups")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-clustersecuritygroups")
private List clusterSecurityGroups = new ArrayList();
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-clustersubnetgroupname
*
*/
@JsonProperty("ClusterSubnetGroupName")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-clustersubnetgroupname")
private CharSequence clusterSubnetGroupName;
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-clustertype
*
*/
@JsonProperty("ClusterType")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-clustertype")
private CharSequence clusterType;
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-clusterversion
*
*/
@JsonProperty("ClusterVersion")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-clusterversion")
private CharSequence clusterVersion;
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-dbname
*
*/
@JsonProperty("DBName")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-dbname")
private CharSequence dBName;
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-elasticip
*
*/
@JsonProperty("ElasticIp")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-elasticip")
private CharSequence elasticIp;
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-encrypted
*
*/
@JsonProperty("Encrypted")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-encrypted")
private CharSequence encrypted;
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-hsmclientcertidentifier
*
*/
@JsonProperty("HsmClientCertificateIdentifier")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-hsmclientcertidentifier")
private CharSequence hsmClientCertificateIdentifier;
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-HsmConfigurationIdentifier
*
*/
@JsonProperty("HsmConfigurationIdentifier")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-HsmConfigurationIdentifier")
private CharSequence hsmConfigurationIdentifier;
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-iamroles
*
*/
@JsonProperty("IamRoles")
@JsonDeserialize(as = java.util.LinkedHashSet.class)
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-iamroles")
private Set iamRoles = new LinkedHashSet();
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-kmskeyid
*
*/
@JsonProperty("KmsKeyId")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-kmskeyid")
private CharSequence kmsKeyId;
/**
* ClusterLoggingProperties
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshift-cluster-loggingproperties.html
*
*/
@JsonProperty("LoggingProperties")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshift-cluster-loggingproperties.html")
private Property loggingProperties;
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-masteruserpassword
*
*/
@JsonProperty("MasterUserPassword")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-masteruserpassword")
private CharSequence masterUserPassword;
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-masterusername
*
*/
@JsonProperty("MasterUsername")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-masterusername")
private CharSequence masterUsername;
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-nodetype
*
*/
@JsonProperty("NodeType")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-nodetype")
private CharSequence nodeType;
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-nodetype
*
*/
@JsonProperty("NumberOfNodes")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-nodetype")
private Number numberOfNodes;
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-owneraccount
*
*/
@JsonProperty("OwnerAccount")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-owneraccount")
private CharSequence ownerAccount;
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-port
*
*/
@JsonProperty("Port")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-port")
private Number port;
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-preferredmaintenancewindow
*
*/
@JsonProperty("PreferredMaintenanceWindow")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-preferredmaintenancewindow")
private CharSequence preferredMaintenanceWindow;
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-publiclyaccessible
*
*/
@JsonProperty("PubliclyAccessible")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-publiclyaccessible")
private CharSequence publiclyAccessible;
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-snapshotclusteridentifier
*
*/
@JsonProperty("SnapshotClusterIdentifier")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-snapshotclusteridentifier")
private CharSequence snapshotClusterIdentifier;
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-snapshotidentifier
*
*/
@JsonProperty("SnapshotIdentifier")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-snapshotidentifier")
private CharSequence snapshotIdentifier;
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-tags
*
*/
@JsonProperty("Tags")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-tags")
private List> tags = new ArrayList>();
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-vpcsecuritygroupids
*
*/
@JsonProperty("VpcSecurityGroupIds")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-vpcsecuritygroupids")
private List vpcSecurityGroupIds = new ArrayList();
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-allowversionupgrade
*
*/
@JsonIgnore
public CharSequence getAllowVersionUpgrade() {
return allowVersionUpgrade;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-allowversionupgrade
*
*/
@JsonIgnore
public void setAllowVersionUpgrade(CharSequence allowVersionUpgrade) {
this.allowVersionUpgrade = allowVersionUpgrade;
}
public Cluster withAllowVersionUpgrade(CharSequence allowVersionUpgrade) {
this.allowVersionUpgrade = allowVersionUpgrade;
return this;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-automatedsnapshotretentionperiod
*
*/
@JsonIgnore
public Number getAutomatedSnapshotRetentionPeriod() {
return automatedSnapshotRetentionPeriod;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-automatedsnapshotretentionperiod
*
*/
@JsonIgnore
public void setAutomatedSnapshotRetentionPeriod(Number automatedSnapshotRetentionPeriod) {
this.automatedSnapshotRetentionPeriod = automatedSnapshotRetentionPeriod;
}
public Cluster withAutomatedSnapshotRetentionPeriod(Number automatedSnapshotRetentionPeriod) {
this.automatedSnapshotRetentionPeriod = automatedSnapshotRetentionPeriod;
return this;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-availabilityzone
*
*/
@JsonIgnore
public CharSequence getAvailabilityZone() {
return availabilityZone;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-availabilityzone
*
*/
@JsonIgnore
public void setAvailabilityZone(CharSequence availabilityZone) {
this.availabilityZone = availabilityZone;
}
public Cluster withAvailabilityZone(CharSequence availabilityZone) {
this.availabilityZone = availabilityZone;
return this;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-clusteridentifier
*
*/
@JsonIgnore
public CharSequence getClusterIdentifier() {
return clusterIdentifier;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-clusteridentifier
*
*/
@JsonIgnore
public void setClusterIdentifier(CharSequence clusterIdentifier) {
this.clusterIdentifier = clusterIdentifier;
}
public Cluster withClusterIdentifier(CharSequence clusterIdentifier) {
this.clusterIdentifier = clusterIdentifier;
return this;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-clusterparametergroupname
*
*/
@JsonIgnore
public CharSequence getClusterParameterGroupName() {
return clusterParameterGroupName;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-clusterparametergroupname
*
*/
@JsonIgnore
public void setClusterParameterGroupName(CharSequence clusterParameterGroupName) {
this.clusterParameterGroupName = clusterParameterGroupName;
}
public Cluster withClusterParameterGroupName(CharSequence clusterParameterGroupName) {
this.clusterParameterGroupName = clusterParameterGroupName;
return this;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-clustersecuritygroups
*
*/
@JsonIgnore
public List getClusterSecurityGroups() {
return clusterSecurityGroups;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-clustersecuritygroups
*
*/
@JsonIgnore
public void setClusterSecurityGroups(List clusterSecurityGroups) {
this.clusterSecurityGroups = clusterSecurityGroups;
}
public Cluster withClusterSecurityGroups(List clusterSecurityGroups) {
this.clusterSecurityGroups = clusterSecurityGroups;
return this;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-clustersubnetgroupname
*
*/
@JsonIgnore
public CharSequence getClusterSubnetGroupName() {
return clusterSubnetGroupName;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-clustersubnetgroupname
*
*/
@JsonIgnore
public void setClusterSubnetGroupName(CharSequence clusterSubnetGroupName) {
this.clusterSubnetGroupName = clusterSubnetGroupName;
}
public Cluster withClusterSubnetGroupName(CharSequence clusterSubnetGroupName) {
this.clusterSubnetGroupName = clusterSubnetGroupName;
return this;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-clustertype
*
*/
@JsonIgnore
public CharSequence getClusterType() {
return clusterType;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-clustertype
*
*/
@JsonIgnore
public void setClusterType(CharSequence clusterType) {
this.clusterType = clusterType;
}
public Cluster withClusterType(CharSequence clusterType) {
this.clusterType = clusterType;
return this;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-clusterversion
*
*/
@JsonIgnore
public CharSequence getClusterVersion() {
return clusterVersion;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-clusterversion
*
*/
@JsonIgnore
public void setClusterVersion(CharSequence clusterVersion) {
this.clusterVersion = clusterVersion;
}
public Cluster withClusterVersion(CharSequence clusterVersion) {
this.clusterVersion = clusterVersion;
return this;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-dbname
*
*/
@JsonIgnore
public CharSequence getDBName() {
return dBName;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-dbname
*
*/
@JsonIgnore
public void setDBName(CharSequence dBName) {
this.dBName = dBName;
}
public Cluster withDBName(CharSequence dBName) {
this.dBName = dBName;
return this;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-elasticip
*
*/
@JsonIgnore
public CharSequence getElasticIp() {
return elasticIp;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-elasticip
*
*/
@JsonIgnore
public void setElasticIp(CharSequence elasticIp) {
this.elasticIp = elasticIp;
}
public Cluster withElasticIp(CharSequence elasticIp) {
this.elasticIp = elasticIp;
return this;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-encrypted
*
*/
@JsonIgnore
public CharSequence getEncrypted() {
return encrypted;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-encrypted
*
*/
@JsonIgnore
public void setEncrypted(CharSequence encrypted) {
this.encrypted = encrypted;
}
public Cluster withEncrypted(CharSequence encrypted) {
this.encrypted = encrypted;
return this;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-hsmclientcertidentifier
*
*/
@JsonIgnore
public CharSequence getHsmClientCertificateIdentifier() {
return hsmClientCertificateIdentifier;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-hsmclientcertidentifier
*
*/
@JsonIgnore
public void setHsmClientCertificateIdentifier(CharSequence hsmClientCertificateIdentifier) {
this.hsmClientCertificateIdentifier = hsmClientCertificateIdentifier;
}
public Cluster withHsmClientCertificateIdentifier(CharSequence hsmClientCertificateIdentifier) {
this.hsmClientCertificateIdentifier = hsmClientCertificateIdentifier;
return this;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-HsmConfigurationIdentifier
*
*/
@JsonIgnore
public CharSequence getHsmConfigurationIdentifier() {
return hsmConfigurationIdentifier;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-HsmConfigurationIdentifier
*
*/
@JsonIgnore
public void setHsmConfigurationIdentifier(CharSequence hsmConfigurationIdentifier) {
this.hsmConfigurationIdentifier = hsmConfigurationIdentifier;
}
public Cluster withHsmConfigurationIdentifier(CharSequence hsmConfigurationIdentifier) {
this.hsmConfigurationIdentifier = hsmConfigurationIdentifier;
return this;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-iamroles
*
*/
@JsonIgnore
public Set getIamRoles() {
return iamRoles;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-iamroles
*
*/
@JsonIgnore
public void setIamRoles(Set iamRoles) {
this.iamRoles = iamRoles;
}
public Cluster withIamRoles(Set iamRoles) {
this.iamRoles = iamRoles;
return this;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-kmskeyid
*
*/
@JsonIgnore
public CharSequence getKmsKeyId() {
return kmsKeyId;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-kmskeyid
*
*/
@JsonIgnore
public void setKmsKeyId(CharSequence kmsKeyId) {
this.kmsKeyId = kmsKeyId;
}
public Cluster withKmsKeyId(CharSequence kmsKeyId) {
this.kmsKeyId = kmsKeyId;
return this;
}
/**
* ClusterLoggingProperties
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshift-cluster-loggingproperties.html
*
*/
@JsonIgnore
public Property getLoggingProperties() {
return loggingProperties;
}
/**
* ClusterLoggingProperties
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshift-cluster-loggingproperties.html
*
*/
@JsonIgnore
public void setLoggingProperties(Property loggingProperties) {
this.loggingProperties = loggingProperties;
}
public Cluster withLoggingProperties(Property loggingProperties) {
this.loggingProperties = loggingProperties;
return this;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-masteruserpassword
*
*/
@JsonIgnore
public CharSequence getMasterUserPassword() {
return masterUserPassword;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-masteruserpassword
*
*/
@JsonIgnore
public void setMasterUserPassword(CharSequence masterUserPassword) {
this.masterUserPassword = masterUserPassword;
}
public Cluster withMasterUserPassword(CharSequence masterUserPassword) {
this.masterUserPassword = masterUserPassword;
return this;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-masterusername
*
*/
@JsonIgnore
public CharSequence getMasterUsername() {
return masterUsername;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-masterusername
*
*/
@JsonIgnore
public void setMasterUsername(CharSequence masterUsername) {
this.masterUsername = masterUsername;
}
public Cluster withMasterUsername(CharSequence masterUsername) {
this.masterUsername = masterUsername;
return this;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-nodetype
*
*/
@JsonIgnore
public CharSequence getNodeType() {
return nodeType;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-nodetype
*
*/
@JsonIgnore
public void setNodeType(CharSequence nodeType) {
this.nodeType = nodeType;
}
public Cluster withNodeType(CharSequence nodeType) {
this.nodeType = nodeType;
return this;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-nodetype
*
*/
@JsonIgnore
public Number getNumberOfNodes() {
return numberOfNodes;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-nodetype
*
*/
@JsonIgnore
public void setNumberOfNodes(Number numberOfNodes) {
this.numberOfNodes = numberOfNodes;
}
public Cluster withNumberOfNodes(Number numberOfNodes) {
this.numberOfNodes = numberOfNodes;
return this;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-owneraccount
*
*/
@JsonIgnore
public CharSequence getOwnerAccount() {
return ownerAccount;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-owneraccount
*
*/
@JsonIgnore
public void setOwnerAccount(CharSequence ownerAccount) {
this.ownerAccount = ownerAccount;
}
public Cluster withOwnerAccount(CharSequence ownerAccount) {
this.ownerAccount = ownerAccount;
return this;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-port
*
*/
@JsonIgnore
public Number getPort() {
return port;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-port
*
*/
@JsonIgnore
public void setPort(Number port) {
this.port = port;
}
public Cluster withPort(Number port) {
this.port = port;
return this;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-preferredmaintenancewindow
*
*/
@JsonIgnore
public CharSequence getPreferredMaintenanceWindow() {
return preferredMaintenanceWindow;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-preferredmaintenancewindow
*
*/
@JsonIgnore
public void setPreferredMaintenanceWindow(CharSequence preferredMaintenanceWindow) {
this.preferredMaintenanceWindow = preferredMaintenanceWindow;
}
public Cluster withPreferredMaintenanceWindow(CharSequence preferredMaintenanceWindow) {
this.preferredMaintenanceWindow = preferredMaintenanceWindow;
return this;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-publiclyaccessible
*
*/
@JsonIgnore
public CharSequence getPubliclyAccessible() {
return publiclyAccessible;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-publiclyaccessible
*
*/
@JsonIgnore
public void setPubliclyAccessible(CharSequence publiclyAccessible) {
this.publiclyAccessible = publiclyAccessible;
}
public Cluster withPubliclyAccessible(CharSequence publiclyAccessible) {
this.publiclyAccessible = publiclyAccessible;
return this;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-snapshotclusteridentifier
*
*/
@JsonIgnore
public CharSequence getSnapshotClusterIdentifier() {
return snapshotClusterIdentifier;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-snapshotclusteridentifier
*
*/
@JsonIgnore
public void setSnapshotClusterIdentifier(CharSequence snapshotClusterIdentifier) {
this.snapshotClusterIdentifier = snapshotClusterIdentifier;
}
public Cluster withSnapshotClusterIdentifier(CharSequence snapshotClusterIdentifier) {
this.snapshotClusterIdentifier = snapshotClusterIdentifier;
return this;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-snapshotidentifier
*
*/
@JsonIgnore
public CharSequence getSnapshotIdentifier() {
return snapshotIdentifier;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-snapshotidentifier
*
*/
@JsonIgnore
public void setSnapshotIdentifier(CharSequence snapshotIdentifier) {
this.snapshotIdentifier = snapshotIdentifier;
}
public Cluster withSnapshotIdentifier(CharSequence snapshotIdentifier) {
this.snapshotIdentifier = snapshotIdentifier;
return this;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-tags
*
*/
@JsonIgnore
public List> getTags() {
return tags;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-tags
*
*/
@JsonIgnore
public void setTags(List> tags) {
this.tags = tags;
}
public Cluster withTags(List> tags) {
this.tags = tags;
return this;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-vpcsecuritygroupids
*
*/
@JsonIgnore
public List getVpcSecurityGroupIds() {
return vpcSecurityGroupIds;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-vpcsecuritygroupids
*
*/
@JsonIgnore
public void setVpcSecurityGroupIds(List vpcSecurityGroupIds) {
this.vpcSecurityGroupIds = vpcSecurityGroupIds;
}
public Cluster withVpcSecurityGroupIds(List vpcSecurityGroupIds) {
this.vpcSecurityGroupIds = vpcSecurityGroupIds;
return this;
}
@Override
public String toString() {
return new ToStringBuilder(this).append("allowVersionUpgrade", allowVersionUpgrade).append("automatedSnapshotRetentionPeriod", automatedSnapshotRetentionPeriod).append("availabilityZone", availabilityZone).append("clusterIdentifier", clusterIdentifier).append("clusterParameterGroupName", clusterParameterGroupName).append("clusterSecurityGroups", clusterSecurityGroups).append("clusterSubnetGroupName", clusterSubnetGroupName).append("clusterType", clusterType).append("clusterVersion", clusterVersion).append("dBName", dBName).append("elasticIp", elasticIp).append("encrypted", encrypted).append("hsmClientCertificateIdentifier", hsmClientCertificateIdentifier).append("hsmConfigurationIdentifier", hsmConfigurationIdentifier).append("iamRoles", iamRoles).append("kmsKeyId", kmsKeyId).append("loggingProperties", loggingProperties).append("masterUserPassword", masterUserPassword).append("masterUsername", masterUsername).append("nodeType", nodeType).append("numberOfNodes", numberOfNodes).append("ownerAccount", ownerAccount).append("port", port).append("preferredMaintenanceWindow", preferredMaintenanceWindow).append("publiclyAccessible", publiclyAccessible).append("snapshotClusterIdentifier", snapshotClusterIdentifier).append("snapshotIdentifier", snapshotIdentifier).append("tags", tags).append("vpcSecurityGroupIds", vpcSecurityGroupIds).toString();
}
@Override
public int hashCode() {
return new HashCodeBuilder().append(vpcSecurityGroupIds).append(allowVersionUpgrade).append(clusterIdentifier).append(numberOfNodes).append(ownerAccount).append(availabilityZone).append(clusterVersion).append(elasticIp).append(loggingProperties).append(publiclyAccessible).append(clusterParameterGroupName).append(hsmClientCertificateIdentifier).append(hsmConfigurationIdentifier).append(masterUserPassword).append(clusterType).append(masterUsername).append(dBName).append(iamRoles).append(clusterSecurityGroups).append(snapshotIdentifier).append(nodeType).append(clusterSubnetGroupName).append(tags).append(encrypted).append(port).append(snapshotClusterIdentifier).append(preferredMaintenanceWindow).append(kmsKeyId).append(automatedSnapshotRetentionPeriod).toHashCode();
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof Cluster) == false) {
return false;
}
Cluster rhs = ((Cluster) other);
return new EqualsBuilder().append(vpcSecurityGroupIds, rhs.vpcSecurityGroupIds).append(allowVersionUpgrade, rhs.allowVersionUpgrade).append(clusterIdentifier, rhs.clusterIdentifier).append(numberOfNodes, rhs.numberOfNodes).append(ownerAccount, rhs.ownerAccount).append(availabilityZone, rhs.availabilityZone).append(clusterVersion, rhs.clusterVersion).append(elasticIp, rhs.elasticIp).append(loggingProperties, rhs.loggingProperties).append(publiclyAccessible, rhs.publiclyAccessible).append(clusterParameterGroupName, rhs.clusterParameterGroupName).append(hsmClientCertificateIdentifier, rhs.hsmClientCertificateIdentifier).append(hsmConfigurationIdentifier, rhs.hsmConfigurationIdentifier).append(masterUserPassword, rhs.masterUserPassword).append(clusterType, rhs.clusterType).append(masterUsername, rhs.masterUsername).append(dBName, rhs.dBName).append(iamRoles, rhs.iamRoles).append(clusterSecurityGroups, rhs.clusterSecurityGroups).append(snapshotIdentifier, rhs.snapshotIdentifier).append(nodeType, rhs.nodeType).append(clusterSubnetGroupName, rhs.clusterSubnetGroupName).append(tags, rhs.tags).append(encrypted, rhs.encrypted).append(port, rhs.port).append(snapshotClusterIdentifier, rhs.snapshotClusterIdentifier).append(preferredMaintenanceWindow, rhs.preferredMaintenanceWindow).append(kmsKeyId, rhs.kmsKeyId).append(automatedSnapshotRetentionPeriod, rhs.automatedSnapshotRetentionPeriod).isEquals();
}
}