|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.redshift.model.CreateClusterRequest
public class CreateClusterRequest
Container for the parameters to the CreateCluster operation
.
Creates a new cluster. To create the cluster in virtual private cloud (VPC), you must provide cluster subnet group name. If you don't provide a cluster subnet group name or the cluster security group parameter, Amazon Redshift creates a non-VPC cluster, it associates the default cluster security group with the cluster. For more information about managing clusters, go to Amazon Redshift Clusters in the Amazon Redshift Management Guide .
AmazonRedshift.createCluster(CreateClusterRequest)
,
Serialized FormConstructor Summary | |
---|---|
CreateClusterRequest()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
Boolean |
getAllowVersionUpgrade()
If true , upgrades can be applied during the maintenance
window to the Amazon Redshift engine that is running on the cluster. |
Integer |
getAutomatedSnapshotRetentionPeriod()
The number of days that automated snapshots are retained. |
String |
getAvailabilityZone()
The EC2 Availability Zone (AZ) in which you want Amazon Redshift to provision the cluster. |
String |
getClusterIdentifier()
A unique identifier for the cluster. |
String |
getClusterParameterGroupName()
The name of the parameter group to be associated with this cluster. |
List<String> |
getClusterSecurityGroups()
A list of security groups to be associated with this cluster. |
String |
getClusterSubnetGroupName()
The name of a cluster subnet group to be associated with this cluster. |
String |
getClusterType()
The type of the cluster. |
String |
getClusterVersion()
The version of the Amazon Redshift engine software that you want to deploy on the cluster. |
String |
getDBName()
The name of the first database to be created when the cluster is created. |
Boolean |
getEncrypted()
If true , the data in cluster is encrypted at rest. |
String |
getMasterUsername()
The user name associated with the master user account for the cluster that is being created. |
String |
getMasterUserPassword()
The password associated with the master user account for the cluster that is being created. |
String |
getNodeType()
The node type to be provisioned for the cluster. |
Integer |
getNumberOfNodes()
The number of compute nodes in the cluster. |
Integer |
getPort()
The port number on which the cluster accepts incoming connections. |
String |
getPreferredMaintenanceWindow()
The weekly time range (in UTC) during which automated cluster maintenance can occur. |
Boolean |
getPubliclyAccessible()
If true , the cluster can be accessed from a public
network. |
List<String> |
getVpcSecurityGroupIds()
A list of Virtual Private Cloud (VPC) security groups to be associated with the cluster. |
int |
hashCode()
|
Boolean |
isAllowVersionUpgrade()
If true , upgrades can be applied during the maintenance
window to the Amazon Redshift engine that is running on the cluster. |
Boolean |
isEncrypted()
If true , the 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 , upgrades can be applied during the maintenance
window to the Amazon Redshift engine that is running on the cluster. |
void |
setAutomatedSnapshotRetentionPeriod(Integer automatedSnapshotRetentionPeriod)
The number of days that automated snapshots are retained. |
void |
setAvailabilityZone(String availabilityZone)
The EC2 Availability Zone (AZ) in which you want Amazon Redshift to provision the cluster. |
void |
setClusterIdentifier(String clusterIdentifier)
A unique identifier for the cluster. |
void |
setClusterParameterGroupName(String clusterParameterGroupName)
The name of the parameter group to be associated with this cluster. |
void |
setClusterSecurityGroups(Collection<String> clusterSecurityGroups)
A list of security groups to be associated with this cluster. |
void |
setClusterSubnetGroupName(String clusterSubnetGroupName)
The name of a cluster subnet group to be associated with this cluster. |
void |
setClusterType(String clusterType)
The type of the cluster. |
void |
setClusterVersion(String clusterVersion)
The version of the Amazon Redshift engine software that you want to deploy on the cluster. |
void |
setDBName(String dBName)
The name of the first database to be created when the cluster is created. |
void |
setEncrypted(Boolean encrypted)
If true , the data in cluster is encrypted at rest. |
void |
setMasterUsername(String masterUsername)
The user name associated with the master user account for the cluster that is being created. |
void |
setMasterUserPassword(String masterUserPassword)
The password associated with the master user account for the cluster that is being created. |
void |
setNodeType(String nodeType)
The node type to be provisioned for the cluster. |
void |
setNumberOfNodes(Integer numberOfNodes)
The number of compute nodes in the cluster. |
void |
setPort(Integer port)
The port number on which the cluster accepts incoming connections. |
void |
setPreferredMaintenanceWindow(String preferredMaintenanceWindow)
The weekly time range (in UTC) during which automated cluster maintenance can occur. |
void |
setPubliclyAccessible(Boolean publiclyAccessible)
If true , the cluster can be accessed from a public
network. |
void |
setVpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds)
A list of Virtual Private Cloud (VPC) security groups to be associated with the cluster. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
CreateClusterRequest |
withAllowVersionUpgrade(Boolean allowVersionUpgrade)
If true , upgrades can be applied during the maintenance
window to the Amazon Redshift engine that is running on the cluster. |
CreateClusterRequest |
withAutomatedSnapshotRetentionPeriod(Integer automatedSnapshotRetentionPeriod)
The number of days that automated snapshots are retained. |
CreateClusterRequest |
withAvailabilityZone(String availabilityZone)
The EC2 Availability Zone (AZ) in which you want Amazon Redshift to provision the cluster. |
CreateClusterRequest |
withClusterIdentifier(String clusterIdentifier)
A unique identifier for the cluster. |
CreateClusterRequest |
withClusterParameterGroupName(String clusterParameterGroupName)
The name of the parameter group to be associated with this cluster. |
CreateClusterRequest |
withClusterSecurityGroups(Collection<String> clusterSecurityGroups)
A list of security groups to be associated with this cluster. |
CreateClusterRequest |
withClusterSecurityGroups(String... clusterSecurityGroups)
A list of security groups to be associated with this cluster. |
CreateClusterRequest |
withClusterSubnetGroupName(String clusterSubnetGroupName)
The name of a cluster subnet group to be associated with this cluster. |
CreateClusterRequest |
withClusterType(String clusterType)
The type of the cluster. |
CreateClusterRequest |
withClusterVersion(String clusterVersion)
The version of the Amazon Redshift engine software that you want to deploy on the cluster. |
CreateClusterRequest |
withDBName(String dBName)
The name of the first database to be created when the cluster is created. |
CreateClusterRequest |
withEncrypted(Boolean encrypted)
If true , the data in cluster is encrypted at rest. |
CreateClusterRequest |
withMasterUsername(String masterUsername)
The user name associated with the master user account for the cluster that is being created. |
CreateClusterRequest |
withMasterUserPassword(String masterUserPassword)
The password associated with the master user account for the cluster that is being created. |
CreateClusterRequest |
withNodeType(String nodeType)
The node type to be provisioned for the cluster. |
CreateClusterRequest |
withNumberOfNodes(Integer numberOfNodes)
The number of compute nodes in the cluster. |
CreateClusterRequest |
withPort(Integer port)
The port number on which the cluster accepts incoming connections. |
CreateClusterRequest |
withPreferredMaintenanceWindow(String preferredMaintenanceWindow)
The weekly time range (in UTC) during which automated cluster maintenance can occur. |
CreateClusterRequest |
withPubliclyAccessible(Boolean publiclyAccessible)
If true , the cluster can be accessed from a public
network. |
CreateClusterRequest |
withVpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds)
A list of Virtual Private Cloud (VPC) security groups to be associated with the cluster. |
CreateClusterRequest |
withVpcSecurityGroupIds(String... vpcSecurityGroupIds)
A list of Virtual Private Cloud (VPC) security groups to be associated with the cluster. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CreateClusterRequest()
Method Detail |
---|
public String getDBName()
To create additional databases after the cluster is created, connect to the cluster with a SQL client and use SQL commands to create a database. For more information, go to Create a Database in the Amazon Redshift Developer Guide.
Default:
dev
Constraints:
To create additional databases after the cluster is created, connect to the cluster with a SQL client and use SQL commands to create a database. For more information, go to Create a Database in the Amazon Redshift Developer Guide.
Default:
dev
Constraints:
public void setDBName(String dBName)
To create additional databases after the cluster is created, connect to the cluster with a SQL client and use SQL commands to create a database. For more information, go to Create a Database in the Amazon Redshift Developer Guide.
Default:
dev
Constraints:
dBName
- The name of the first database to be created when the cluster is
created. To create additional databases after the cluster is created, connect to the cluster with a SQL client and use SQL commands to create a database. For more information, go to Create a Database in the Amazon Redshift Developer Guide.
Default:
dev
Constraints:
public CreateClusterRequest withDBName(String dBName)
To create additional databases after the cluster is created, connect to the cluster with a SQL client and use SQL commands to create a database. For more information, go to Create a Database in the Amazon Redshift Developer Guide.
Default:
dev
Constraints:
Returns a reference to this object so that method calls can be chained together.
dBName
- The name of the first database to be created when the cluster is
created. To create additional databases after the cluster is created, connect to the cluster with a SQL client and use SQL commands to create a database. For more information, go to Create a Database in the Amazon Redshift Developer Guide.
Default:
dev
Constraints:
public String getClusterIdentifier()
Constraints:
Example: myexamplecluster
Constraints:
Example: myexamplecluster
public void setClusterIdentifier(String clusterIdentifier)
Constraints:
Example: myexamplecluster
clusterIdentifier
- A unique identifier for the cluster. You use this identifier to refer
to the cluster for any subsequent cluster operations such as deleting
or modifying. The identifier also appears in the Amazon Redshift
console. Constraints:
Example: myexamplecluster
public CreateClusterRequest withClusterIdentifier(String clusterIdentifier)
Constraints:
Example: myexamplecluster
Returns a reference to this object so that method calls can be chained together.
clusterIdentifier
- A unique identifier for the cluster. You use this identifier to refer
to the cluster for any subsequent cluster operations such as deleting
or modifying. The identifier also appears in the Amazon Redshift
console. Constraints:
Example: myexamplecluster
public String getClusterType()
single-node
, the NumberOfNodes parameter is
not required.multi-node
, the
NumberOfNodes parameter is required. Valid
Values: multi-node
| single-node
Default:
multi-node
single-node
, the NumberOfNodes parameter is
not required.multi-node
, the
NumberOfNodes parameter is required. Valid
Values: multi-node
| single-node
Default:
multi-node
public void setClusterType(String clusterType)
single-node
, the NumberOfNodes parameter is
not required.multi-node
, the
NumberOfNodes parameter is required. Valid
Values: multi-node
| single-node
Default:
multi-node
clusterType
- The type of the cluster. When cluster type is specified as single-node
, the NumberOfNodes parameter is
not required.multi-node
, the
NumberOfNodes parameter is required. Valid
Values: multi-node
| single-node
Default:
multi-node
public CreateClusterRequest withClusterType(String clusterType)
single-node
, the NumberOfNodes parameter is
not required.multi-node
, the
NumberOfNodes parameter is required. Valid
Values: multi-node
| single-node
Default:
multi-node
Returns a reference to this object so that method calls can be chained together.
clusterType
- The type of the cluster. When cluster type is specified as single-node
, the NumberOfNodes parameter is
not required.multi-node
, the
NumberOfNodes parameter is required. Valid
Values: multi-node
| single-node
Default:
multi-node
public String getNodeType()
Valid Values: dw.hs1.xlarge
|
dw.hs1.8xlarge
.
Valid Values: dw.hs1.xlarge
|
dw.hs1.8xlarge
.
public void setNodeType(String nodeType)
Valid Values: dw.hs1.xlarge
|
dw.hs1.8xlarge
.
nodeType
- The node type to be provisioned for the cluster. For information about
node types, go to
Working with Clusters in the Amazon Redshift Management
Guide. Valid Values: dw.hs1.xlarge
|
dw.hs1.8xlarge
.
public CreateClusterRequest withNodeType(String nodeType)
Valid Values: dw.hs1.xlarge
|
dw.hs1.8xlarge
.
Returns a reference to this object so that method calls can be chained together.
nodeType
- The node type to be provisioned for the cluster. For information about
node types, go to
Working with Clusters in the Amazon Redshift Management
Guide. Valid Values: dw.hs1.xlarge
|
dw.hs1.8xlarge
.
public String getMasterUsername()
Constraints:
Constraints:
public void setMasterUsername(String masterUsername)
Constraints:
masterUsername
- The user name associated with the master user account for the cluster
that is being created. Constraints:
public CreateClusterRequest withMasterUsername(String masterUsername)
Constraints:
Returns a reference to this object so that method calls can be chained together.
masterUsername
- The user name associated with the master user account for the cluster
that is being created. Constraints:
public String getMasterUserPassword()
Constraints:
Constraints:
public void setMasterUserPassword(String masterUserPassword)
Constraints:
masterUserPassword
- The password associated with the master user account for the cluster
that is being created. Constraints:
public CreateClusterRequest withMasterUserPassword(String masterUserPassword)
Constraints:
Returns a reference to this object so that method calls can be chained together.
masterUserPassword
- The password associated with the master user account for the cluster
that is being created. Constraints:
public List<String> getClusterSecurityGroups()
Default: The default cluster security group for Amazon Redshift.
Default: The default cluster security group for Amazon Redshift.
public void setClusterSecurityGroups(Collection<String> clusterSecurityGroups)
Default: The default cluster security group for Amazon Redshift.
clusterSecurityGroups
- A list of security groups to be associated with this cluster. Default: The default cluster security group for Amazon Redshift.
public CreateClusterRequest withClusterSecurityGroups(String... clusterSecurityGroups)
Default: The default cluster security group for Amazon Redshift.
Returns a reference to this object so that method calls can be chained together.
clusterSecurityGroups
- A list of security groups to be associated with this cluster. Default: The default cluster security group for Amazon Redshift.
public CreateClusterRequest withClusterSecurityGroups(Collection<String> clusterSecurityGroups)
Default: The default cluster security group for Amazon Redshift.
Returns a reference to this object so that method calls can be chained together.
clusterSecurityGroups
- A list of security groups to be associated with this cluster. Default: The default cluster security group for Amazon Redshift.
public List<String> getVpcSecurityGroupIds()
Default: The default VPC security group is associated with the cluster.
Default: The default VPC security group is associated with the cluster.
public void setVpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds)
Default: The default VPC security group is associated with the cluster.
vpcSecurityGroupIds
- A list of Virtual Private Cloud (VPC) security groups to be associated
with the cluster. Default: The default VPC security group is associated with the cluster.
public CreateClusterRequest withVpcSecurityGroupIds(String... vpcSecurityGroupIds)
Default: The default VPC security group is associated with the cluster.
Returns a reference to this object so that method calls can be chained together.
vpcSecurityGroupIds
- A list of Virtual Private Cloud (VPC) security groups to be associated
with the cluster. Default: The default VPC security group is associated with the cluster.
public CreateClusterRequest withVpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds)
Default: The default VPC security group is associated with the cluster.
Returns a reference to this object so that method calls can be chained together.
vpcSecurityGroupIds
- A list of Virtual Private Cloud (VPC) security groups to be associated
with the cluster. Default: The default VPC security group is associated with the cluster.
public String getClusterSubnetGroupName()
If this parameter is not provided the resulting cluster will be deployed outside virtual private cloud (VPC).
If this parameter is not provided the resulting cluster will be deployed outside virtual private cloud (VPC).
public void setClusterSubnetGroupName(String clusterSubnetGroupName)
If this parameter is not provided the resulting cluster will be deployed outside virtual private cloud (VPC).
clusterSubnetGroupName
- The name of a cluster subnet group to be associated with this cluster.
If this parameter is not provided the resulting cluster will be deployed outside virtual private cloud (VPC).
public CreateClusterRequest withClusterSubnetGroupName(String clusterSubnetGroupName)
If this parameter is not provided the resulting cluster will be deployed outside virtual private cloud (VPC).
Returns a reference to this object so that method calls can be chained together.
clusterSubnetGroupName
- The name of a cluster subnet group to be associated with this cluster.
If this parameter is not provided the resulting cluster will be deployed outside virtual private cloud (VPC).
public String getAvailabilityZone()
Default: A random, system-chosen Availability Zone in the region that is specified by the endpoint.
Example:
us-east-1d
Constraint: The specified Availability Zone must be in the same region as the current endpoint.
Default: A random, system-chosen Availability Zone in the region that is specified by the endpoint.
Example:
us-east-1d
Constraint: The specified Availability Zone must be in the same region as the current endpoint.
public void setAvailabilityZone(String availabilityZone)
Default: A random, system-chosen Availability Zone in the region that is specified by the endpoint.
Example:
us-east-1d
Constraint: The specified Availability Zone must be in the same region as the current endpoint.
availabilityZone
- The EC2 Availability Zone (AZ) in which you want Amazon Redshift to
provision the cluster. For example, if you have several EC2 instances
running in a specific Availability Zone, then you might want the
cluster to be provisioned in the same zone in order to decrease
network latency. Default: A random, system-chosen Availability Zone in the region that is specified by the endpoint.
Example:
us-east-1d
Constraint: The specified Availability Zone must be in the same region as the current endpoint.
public CreateClusterRequest withAvailabilityZone(String availabilityZone)
Default: A random, system-chosen Availability Zone in the region that is specified by the endpoint.
Example:
us-east-1d
Constraint: The specified Availability Zone must be in the same region as the current endpoint.
Returns a reference to this object so that method calls can be chained together.
availabilityZone
- The EC2 Availability Zone (AZ) in which you want Amazon Redshift to
provision the cluster. For example, if you have several EC2 instances
running in a specific Availability Zone, then you might want the
cluster to be provisioned in the same zone in order to decrease
network latency. Default: A random, system-chosen Availability Zone in the region that is specified by the endpoint.
Example:
us-east-1d
Constraint: The specified Availability Zone must be in the same region as the current endpoint.
public String getPreferredMaintenanceWindow()
Format:
ddd:hh24:mi-ddd:hh24:mi
Default: A 30-minute window selected at random from an 8-hour block of time per region, occurring on a random day of the week. The following list shows the time blocks for each region from which the default maintenance windows are assigned.
Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun
Constraints: Minimum 30-minute window.
Format:
ddd:hh24:mi-ddd:hh24:mi
Default: A 30-minute window selected at random from an 8-hour block of time per region, occurring on a random day of the week. The following list shows the time blocks for each region from which the default maintenance windows are assigned.
Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun
Constraints: Minimum 30-minute window.
public void setPreferredMaintenanceWindow(String preferredMaintenanceWindow)
Format:
ddd:hh24:mi-ddd:hh24:mi
Default: A 30-minute window selected at random from an 8-hour block of time per region, occurring on a random day of the week. The following list shows the time blocks for each region from which the default maintenance windows are assigned.
Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun
Constraints: Minimum 30-minute window.
preferredMaintenanceWindow
- The weekly time range (in UTC) during which automated cluster
maintenance can occur. Format:
ddd:hh24:mi-ddd:hh24:mi
Default: A 30-minute window selected at random from an 8-hour block of time per region, occurring on a random day of the week. The following list shows the time blocks for each region from which the default maintenance windows are assigned.
Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun
Constraints: Minimum 30-minute window.
public CreateClusterRequest withPreferredMaintenanceWindow(String preferredMaintenanceWindow)
Format:
ddd:hh24:mi-ddd:hh24:mi
Default: A 30-minute window selected at random from an 8-hour block of time per region, occurring on a random day of the week. The following list shows the time blocks for each region from which the default maintenance windows are assigned.
Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun
Constraints: Minimum 30-minute window.
Returns a reference to this object so that method calls can be chained together.
preferredMaintenanceWindow
- The weekly time range (in UTC) during which automated cluster
maintenance can occur. Format:
ddd:hh24:mi-ddd:hh24:mi
Default: A 30-minute window selected at random from an 8-hour block of time per region, occurring on a random day of the week. The following list shows the time blocks for each region from which the default maintenance windows are assigned.
Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun
Constraints: Minimum 30-minute window.
public String getClusterParameterGroupName()
Default: The default Amazon Redshift cluster parameter group. For information about the default parameter group, go to Working with Amazon Redshift Parameter Groups
Constraints:
Default: The default Amazon Redshift cluster parameter group. For information about the default parameter group, go to Working with Amazon Redshift Parameter Groups
Constraints:
public void setClusterParameterGroupName(String clusterParameterGroupName)
Default: The default Amazon Redshift cluster parameter group. For information about the default parameter group, go to Working with Amazon Redshift Parameter Groups
Constraints:
clusterParameterGroupName
- The name of the parameter group to be associated with this cluster.
Default: The default Amazon Redshift cluster parameter group. For information about the default parameter group, go to Working with Amazon Redshift Parameter Groups
Constraints:
public CreateClusterRequest withClusterParameterGroupName(String clusterParameterGroupName)
Default: The default Amazon Redshift cluster parameter group. For information about the default parameter group, go to Working with Amazon Redshift Parameter Groups
Constraints:
Returns a reference to this object so that method calls can be chained together.
clusterParameterGroupName
- The name of the parameter group to be associated with this cluster.
Default: The default Amazon Redshift cluster parameter group. For information about the default parameter group, go to Working with Amazon Redshift Parameter Groups
Constraints:
public Integer getAutomatedSnapshotRetentionPeriod()
Default: 1
Constraints: Must be a value from 0 to 35.
Default: 1
Constraints: Must be a value from 0 to 35.
public void setAutomatedSnapshotRetentionPeriod(Integer automatedSnapshotRetentionPeriod)
Default: 1
Constraints: Must be a value from 0 to 35.
automatedSnapshotRetentionPeriod
- The number of days that automated snapshots are retained. If the value
is 0, automated snapshots are disabled. Even if automated snapshots
are disabled, you can still create manual snapshots when you want with
CreateClusterSnapshot. Default: 1
Constraints: Must be a value from 0 to 35.
public CreateClusterRequest withAutomatedSnapshotRetentionPeriod(Integer automatedSnapshotRetentionPeriod)
Default: 1
Constraints: Must be a value from 0 to 35.
Returns a reference to this object so that method calls can be chained together.
automatedSnapshotRetentionPeriod
- The number of days that automated snapshots are retained. If the value
is 0, automated snapshots are disabled. Even if automated snapshots
are disabled, you can still create manual snapshots when you want with
CreateClusterSnapshot. Default: 1
Constraints: Must be a value from 0 to 35.
public Integer getPort()
The cluster is accessible only via the JDBC and ODBC connection strings. Part of the connection string requires the port on which the cluster will listen for incoming connections.
Default:
5439
Valid Values: 1150-65535
The cluster is accessible only via the JDBC and ODBC connection strings. Part of the connection string requires the port on which the cluster will listen for incoming connections.
Default:
5439
Valid Values: 1150-65535
public void setPort(Integer port)
The cluster is accessible only via the JDBC and ODBC connection strings. Part of the connection string requires the port on which the cluster will listen for incoming connections.
Default:
5439
Valid Values: 1150-65535
port
- The port number on which the cluster accepts incoming connections.
The cluster is accessible only via the JDBC and ODBC connection strings. Part of the connection string requires the port on which the cluster will listen for incoming connections.
Default:
5439
Valid Values: 1150-65535
public CreateClusterRequest withPort(Integer port)
The cluster is accessible only via the JDBC and ODBC connection strings. Part of the connection string requires the port on which the cluster will listen for incoming connections.
Default:
5439
Valid Values: 1150-65535
Returns a reference to this object so that method calls can be chained together.
port
- The port number on which the cluster accepts incoming connections.
The cluster is accessible only via the JDBC and ODBC connection strings. Part of the connection string requires the port on which the cluster will listen for incoming connections.
Default:
5439
Valid Values: 1150-65535
public String getClusterVersion()
The version selected runs on all the nodes in the cluster.
Constraints: Only version 1.0 is currently available.
Example: 1.0
The version selected runs on all the nodes in the cluster.
Constraints: Only version 1.0 is currently available.
Example: 1.0
public void setClusterVersion(String clusterVersion)
The version selected runs on all the nodes in the cluster.
Constraints: Only version 1.0 is currently available.
Example: 1.0
clusterVersion
- The version of the Amazon Redshift engine software that you want to
deploy on the cluster. The version selected runs on all the nodes in the cluster.
Constraints: Only version 1.0 is currently available.
Example: 1.0
public CreateClusterRequest withClusterVersion(String clusterVersion)
The version selected runs on all the nodes in the cluster.
Constraints: Only version 1.0 is currently available.
Example: 1.0
Returns a reference to this object so that method calls can be chained together.
clusterVersion
- The version of the Amazon Redshift engine software that you want to
deploy on the cluster. The version selected runs on all the nodes in the cluster.
Constraints: Only version 1.0 is currently available.
Example: 1.0
public Boolean isAllowVersionUpgrade()
true
, upgrades can be applied during the maintenance
window to the Amazon Redshift engine that is running on the cluster.
When a new version of the Amazon Redshift engine is released, you can request that the service automatically apply upgrades during the maintenance window to the Amazon Redshift engine that is running on your cluster.
Default: true
true
, upgrades can be applied during the maintenance
window to the Amazon Redshift engine that is running on the cluster.
When a new version of the Amazon Redshift engine is released, you can request that the service automatically apply upgrades during the maintenance window to the Amazon Redshift engine that is running on your cluster.
Default: true
public void setAllowVersionUpgrade(Boolean allowVersionUpgrade)
true
, upgrades can be applied during the maintenance
window to the Amazon Redshift engine that is running on the cluster.
When a new version of the Amazon Redshift engine is released, you can request that the service automatically apply upgrades during the maintenance window to the Amazon Redshift engine that is running on your cluster.
Default: true
allowVersionUpgrade
- If true
, upgrades can be applied during the maintenance
window to the Amazon Redshift engine that is running on the cluster.
When a new version of the Amazon Redshift engine is released, you can request that the service automatically apply upgrades during the maintenance window to the Amazon Redshift engine that is running on your cluster.
Default: true
public CreateClusterRequest withAllowVersionUpgrade(Boolean allowVersionUpgrade)
true
, upgrades can be applied during the maintenance
window to the Amazon Redshift engine that is running on the cluster.
When a new version of the Amazon Redshift engine is released, you can request that the service automatically apply upgrades during the maintenance window to the Amazon Redshift engine that is running on your cluster.
Default: true
Returns a reference to this object so that method calls can be chained together.
allowVersionUpgrade
- If true
, upgrades can be applied during the maintenance
window to the Amazon Redshift engine that is running on the cluster.
When a new version of the Amazon Redshift engine is released, you can request that the service automatically apply upgrades during the maintenance window to the Amazon Redshift engine that is running on your cluster.
Default: true
public Boolean getAllowVersionUpgrade()
true
, upgrades can be applied during the maintenance
window to the Amazon Redshift engine that is running on the cluster.
When a new version of the Amazon Redshift engine is released, you can request that the service automatically apply upgrades during the maintenance window to the Amazon Redshift engine that is running on your cluster.
Default: true
true
, upgrades can be applied during the maintenance
window to the Amazon Redshift engine that is running on the cluster.
When a new version of the Amazon Redshift engine is released, you can request that the service automatically apply upgrades during the maintenance window to the Amazon Redshift engine that is running on your cluster.
Default: true
public Integer getNumberOfNodes()
multi-node
. For information about determining how many nodes you need, go to Working with Clusters in the Amazon Redshift Management Guide.
If you don't specify this parameter, you get a single-node cluster. When requesting a multi-node cluster, you must specify the number of nodes that you want in the cluster.
Default:
1
Constraints: Value must be at least 1 and no more than 100.
multi-node
. For information about determining how many nodes you need, go to Working with Clusters in the Amazon Redshift Management Guide.
If you don't specify this parameter, you get a single-node cluster. When requesting a multi-node cluster, you must specify the number of nodes that you want in the cluster.
Default:
1
Constraints: Value must be at least 1 and no more than 100.
public void setNumberOfNodes(Integer numberOfNodes)
multi-node
. For information about determining how many nodes you need, go to Working with Clusters in the Amazon Redshift Management Guide.
If you don't specify this parameter, you get a single-node cluster. When requesting a multi-node cluster, you must specify the number of nodes that you want in the cluster.
Default:
1
Constraints: Value must be at least 1 and no more than 100.
numberOfNodes
- The number of compute nodes in the cluster. This parameter is required
when the ClusterType parameter is specified as
multi-node
. For information about determining how many nodes you need, go to Working with Clusters in the Amazon Redshift Management Guide.
If you don't specify this parameter, you get a single-node cluster. When requesting a multi-node cluster, you must specify the number of nodes that you want in the cluster.
Default:
1
Constraints: Value must be at least 1 and no more than 100.
public CreateClusterRequest withNumberOfNodes(Integer numberOfNodes)
multi-node
. For information about determining how many nodes you need, go to Working with Clusters in the Amazon Redshift Management Guide.
If you don't specify this parameter, you get a single-node cluster. When requesting a multi-node cluster, you must specify the number of nodes that you want in the cluster.
Default:
1
Constraints: Value must be at least 1 and no more than 100.
Returns a reference to this object so that method calls can be chained together.
numberOfNodes
- The number of compute nodes in the cluster. This parameter is required
when the ClusterType parameter is specified as
multi-node
. For information about determining how many nodes you need, go to Working with Clusters in the Amazon Redshift Management Guide.
If you don't specify this parameter, you get a single-node cluster. When requesting a multi-node cluster, you must specify the number of nodes that you want in the cluster.
Default:
1
Constraints: Value must be at least 1 and no more than 100.
public Boolean isPubliclyAccessible()
true
, the cluster can be accessed from a public
network.
true
, the cluster can be accessed from a public
network.public void setPubliclyAccessible(Boolean publiclyAccessible)
true
, the cluster can be accessed from a public
network.
publiclyAccessible
- If true
, the cluster can be accessed from a public
network.public CreateClusterRequest withPubliclyAccessible(Boolean publiclyAccessible)
true
, the cluster can be accessed from a public
network.
Returns a reference to this object so that method calls can be chained together.
publiclyAccessible
- If true
, the cluster can be accessed from a public
network.
public Boolean getPubliclyAccessible()
true
, the cluster can be accessed from a public
network.
true
, the cluster can be accessed from a public
network.public Boolean isEncrypted()
true
, the data in cluster is encrypted at rest.
Default: false
true
, the data in cluster is encrypted at rest.
Default: false
public void setEncrypted(Boolean encrypted)
true
, the data in cluster is encrypted at rest.
Default: false
encrypted
- If true
, the data in cluster is encrypted at rest.
Default: false
public CreateClusterRequest withEncrypted(Boolean encrypted)
true
, the data in cluster is encrypted at rest.
Default: false
Returns a reference to this object so that method calls can be chained together.
encrypted
- If true
, the data in cluster is encrypted at rest.
Default: false
public Boolean getEncrypted()
true
, the data in cluster is encrypted at rest.
Default: false
true
, the data in cluster is encrypted at rest.
Default: false
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |