@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateClusterRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateClusterRequest() |
Modifier and Type | Method and Description |
---|---|
CreateClusterRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getHsmType()
The type of HSM to use in the cluster.
|
String |
getSourceBackupId()
The identifier (ID) of the cluster backup to restore.
|
List<String> |
getSubnetIds()
The identifiers (IDs) of the subnets where you are creating the cluster.
|
int |
hashCode() |
void |
setHsmType(String hsmType)
The type of HSM to use in the cluster.
|
void |
setSourceBackupId(String sourceBackupId)
The identifier (ID) of the cluster backup to restore.
|
void |
setSubnetIds(Collection<String> subnetIds)
The identifiers (IDs) of the subnets where you are creating the cluster.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateClusterRequest |
withHsmType(String hsmType)
The type of HSM to use in the cluster.
|
CreateClusterRequest |
withSourceBackupId(String sourceBackupId)
The identifier (ID) of the cluster backup to restore.
|
CreateClusterRequest |
withSubnetIds(Collection<String> subnetIds)
The identifiers (IDs) of the subnets where you are creating the cluster.
|
CreateClusterRequest |
withSubnetIds(String... subnetIds)
The identifiers (IDs) of the subnets where you are creating the cluster.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public List<String> getSubnetIds()
The identifiers (IDs) of the subnets where you are creating the cluster. You must specify at least one subnet. If you specify multiple subnets, they must meet the following criteria:
All subnets must be in the same virtual private cloud (VPC).
You can specify only one subnet per Availability Zone.
All subnets must be in the same virtual private cloud (VPC).
You can specify only one subnet per Availability Zone.
public void setSubnetIds(Collection<String> subnetIds)
The identifiers (IDs) of the subnets where you are creating the cluster. You must specify at least one subnet. If you specify multiple subnets, they must meet the following criteria:
All subnets must be in the same virtual private cloud (VPC).
You can specify only one subnet per Availability Zone.
subnetIds
- The identifiers (IDs) of the subnets where you are creating the cluster. You must specify at least one
subnet. If you specify multiple subnets, they must meet the following criteria:
All subnets must be in the same virtual private cloud (VPC).
You can specify only one subnet per Availability Zone.
public CreateClusterRequest withSubnetIds(String... subnetIds)
The identifiers (IDs) of the subnets where you are creating the cluster. You must specify at least one subnet. If you specify multiple subnets, they must meet the following criteria:
All subnets must be in the same virtual private cloud (VPC).
You can specify only one subnet per Availability Zone.
NOTE: This method appends the values to the existing list (if any). Use
setSubnetIds(java.util.Collection)
or withSubnetIds(java.util.Collection)
if you want to
override the existing values.
subnetIds
- The identifiers (IDs) of the subnets where you are creating the cluster. You must specify at least one
subnet. If you specify multiple subnets, they must meet the following criteria:
All subnets must be in the same virtual private cloud (VPC).
You can specify only one subnet per Availability Zone.
public CreateClusterRequest withSubnetIds(Collection<String> subnetIds)
The identifiers (IDs) of the subnets where you are creating the cluster. You must specify at least one subnet. If you specify multiple subnets, they must meet the following criteria:
All subnets must be in the same virtual private cloud (VPC).
You can specify only one subnet per Availability Zone.
subnetIds
- The identifiers (IDs) of the subnets where you are creating the cluster. You must specify at least one
subnet. If you specify multiple subnets, they must meet the following criteria:
All subnets must be in the same virtual private cloud (VPC).
You can specify only one subnet per Availability Zone.
public void setHsmType(String hsmType)
The type of HSM to use in the cluster. Currently the only allowed value is hsm1.medium
.
hsmType
- The type of HSM to use in the cluster. Currently the only allowed value is hsm1.medium
.public String getHsmType()
The type of HSM to use in the cluster. Currently the only allowed value is hsm1.medium
.
hsm1.medium
.public CreateClusterRequest withHsmType(String hsmType)
The type of HSM to use in the cluster. Currently the only allowed value is hsm1.medium
.
hsmType
- The type of HSM to use in the cluster. Currently the only allowed value is hsm1.medium
.public void setSourceBackupId(String sourceBackupId)
The identifier (ID) of the cluster backup to restore. Use this value to restore the cluster from a backup instead of creating a new cluster. To find the backup ID, use DescribeBackups.
sourceBackupId
- The identifier (ID) of the cluster backup to restore. Use this value to restore the cluster from a backup
instead of creating a new cluster. To find the backup ID, use DescribeBackups.public String getSourceBackupId()
The identifier (ID) of the cluster backup to restore. Use this value to restore the cluster from a backup instead of creating a new cluster. To find the backup ID, use DescribeBackups.
public CreateClusterRequest withSourceBackupId(String sourceBackupId)
The identifier (ID) of the cluster backup to restore. Use this value to restore the cluster from a backup instead of creating a new cluster. To find the backup ID, use DescribeBackups.
sourceBackupId
- The identifier (ID) of the cluster backup to restore. Use this value to restore the cluster from a backup
instead of creating a new cluster. To find the backup ID, use DescribeBackups.public String toString()
toString
in class Object
Object.toString()
public CreateClusterRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.