@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Cluster extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about an AWS CloudHSM cluster.
Constructor and Description |
---|
Cluster() |
Modifier and Type | Method and Description |
---|---|
Cluster |
addSubnetMappingEntry(String key,
String value) |
Cluster |
clearSubnetMappingEntries()
Removes all the entries added into SubnetMapping.
|
Cluster |
clone() |
boolean |
equals(Object obj) |
String |
getBackupPolicy()
The cluster's backup policy.
|
Certificates |
getCertificates()
Contains one or more certificates or a certificate signing request (CSR).
|
String |
getClusterId()
The cluster's identifier (ID).
|
Date |
getCreateTimestamp()
The date and time when the cluster was created.
|
List<Hsm> |
getHsms()
Contains information about the HSMs in the cluster.
|
String |
getHsmType()
The type of HSM that the cluster contains.
|
String |
getPreCoPassword()
The default password for the cluster's Pre-Crypto Officer (PRECO) user.
|
String |
getSecurityGroup()
The identifier (ID) of the cluster's security group.
|
String |
getSourceBackupId()
The identifier (ID) of the backup used to create the cluster.
|
String |
getState()
The cluster's state.
|
String |
getStateMessage()
A description of the cluster's state.
|
Map<String,String> |
getSubnetMapping()
A map of the cluster's subnets and their corresponding Availability Zones.
|
String |
getVpcId()
The identifier (ID) of the virtual private cloud (VPC) that contains the cluster.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBackupPolicy(String backupPolicy)
The cluster's backup policy.
|
void |
setCertificates(Certificates certificates)
Contains one or more certificates or a certificate signing request (CSR).
|
void |
setClusterId(String clusterId)
The cluster's identifier (ID).
|
void |
setCreateTimestamp(Date createTimestamp)
The date and time when the cluster was created.
|
void |
setHsms(Collection<Hsm> hsms)
Contains information about the HSMs in the cluster.
|
void |
setHsmType(String hsmType)
The type of HSM that the cluster contains.
|
void |
setPreCoPassword(String preCoPassword)
The default password for the cluster's Pre-Crypto Officer (PRECO) user.
|
void |
setSecurityGroup(String securityGroup)
The identifier (ID) of the cluster's security group.
|
void |
setSourceBackupId(String sourceBackupId)
The identifier (ID) of the backup used to create the cluster.
|
void |
setState(String state)
The cluster's state.
|
void |
setStateMessage(String stateMessage)
A description of the cluster's state.
|
void |
setSubnetMapping(Map<String,String> subnetMapping)
A map of the cluster's subnets and their corresponding Availability Zones.
|
void |
setVpcId(String vpcId)
The identifier (ID) of the virtual private cloud (VPC) that contains the cluster.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Cluster |
withBackupPolicy(BackupPolicy backupPolicy)
The cluster's backup policy.
|
Cluster |
withBackupPolicy(String backupPolicy)
The cluster's backup policy.
|
Cluster |
withCertificates(Certificates certificates)
Contains one or more certificates or a certificate signing request (CSR).
|
Cluster |
withClusterId(String clusterId)
The cluster's identifier (ID).
|
Cluster |
withCreateTimestamp(Date createTimestamp)
The date and time when the cluster was created.
|
Cluster |
withHsms(Collection<Hsm> hsms)
Contains information about the HSMs in the cluster.
|
Cluster |
withHsms(Hsm... hsms)
Contains information about the HSMs in the cluster.
|
Cluster |
withHsmType(String hsmType)
The type of HSM that the cluster contains.
|
Cluster |
withPreCoPassword(String preCoPassword)
The default password for the cluster's Pre-Crypto Officer (PRECO) user.
|
Cluster |
withSecurityGroup(String securityGroup)
The identifier (ID) of the cluster's security group.
|
Cluster |
withSourceBackupId(String sourceBackupId)
The identifier (ID) of the backup used to create the cluster.
|
Cluster |
withState(ClusterState state)
The cluster's state.
|
Cluster |
withState(String state)
The cluster's state.
|
Cluster |
withStateMessage(String stateMessage)
A description of the cluster's state.
|
Cluster |
withSubnetMapping(Map<String,String> subnetMapping)
A map of the cluster's subnets and their corresponding Availability Zones.
|
Cluster |
withVpcId(String vpcId)
The identifier (ID) of the virtual private cloud (VPC) that contains the cluster.
|
public void setBackupPolicy(String backupPolicy)
The cluster's backup policy.
backupPolicy
- The cluster's backup policy.BackupPolicy
public String getBackupPolicy()
The cluster's backup policy.
BackupPolicy
public Cluster withBackupPolicy(String backupPolicy)
The cluster's backup policy.
backupPolicy
- The cluster's backup policy.BackupPolicy
public Cluster withBackupPolicy(BackupPolicy backupPolicy)
The cluster's backup policy.
backupPolicy
- The cluster's backup policy.BackupPolicy
public void setClusterId(String clusterId)
The cluster's identifier (ID).
clusterId
- The cluster's identifier (ID).public String getClusterId()
The cluster's identifier (ID).
public Cluster withClusterId(String clusterId)
The cluster's identifier (ID).
clusterId
- The cluster's identifier (ID).public void setCreateTimestamp(Date createTimestamp)
The date and time when the cluster was created.
createTimestamp
- The date and time when the cluster was created.public Date getCreateTimestamp()
The date and time when the cluster was created.
public Cluster withCreateTimestamp(Date createTimestamp)
The date and time when the cluster was created.
createTimestamp
- The date and time when the cluster was created.public List<Hsm> getHsms()
Contains information about the HSMs in the cluster.
public void setHsms(Collection<Hsm> hsms)
Contains information about the HSMs in the cluster.
hsms
- Contains information about the HSMs in the cluster.public Cluster withHsms(Hsm... hsms)
Contains information about the HSMs in the cluster.
NOTE: This method appends the values to the existing list (if any). Use
setHsms(java.util.Collection)
or withHsms(java.util.Collection)
if you want to override the
existing values.
hsms
- Contains information about the HSMs in the cluster.public Cluster withHsms(Collection<Hsm> hsms)
Contains information about the HSMs in the cluster.
hsms
- Contains information about the HSMs in the cluster.public void setHsmType(String hsmType)
The type of HSM that the cluster contains.
hsmType
- The type of HSM that the cluster contains.public String getHsmType()
The type of HSM that the cluster contains.
public Cluster withHsmType(String hsmType)
The type of HSM that the cluster contains.
hsmType
- The type of HSM that the cluster contains.public void setPreCoPassword(String preCoPassword)
The default password for the cluster's Pre-Crypto Officer (PRECO) user.
preCoPassword
- The default password for the cluster's Pre-Crypto Officer (PRECO) user.public String getPreCoPassword()
The default password for the cluster's Pre-Crypto Officer (PRECO) user.
public Cluster withPreCoPassword(String preCoPassword)
The default password for the cluster's Pre-Crypto Officer (PRECO) user.
preCoPassword
- The default password for the cluster's Pre-Crypto Officer (PRECO) user.public void setSecurityGroup(String securityGroup)
The identifier (ID) of the cluster's security group.
securityGroup
- The identifier (ID) of the cluster's security group.public String getSecurityGroup()
The identifier (ID) of the cluster's security group.
public Cluster withSecurityGroup(String securityGroup)
The identifier (ID) of the cluster's security group.
securityGroup
- The identifier (ID) of the cluster's security group.public void setSourceBackupId(String sourceBackupId)
The identifier (ID) of the backup used to create the cluster. This value exists only when the cluster was created from a backup.
sourceBackupId
- The identifier (ID) of the backup used to create the cluster. This value exists only when the cluster was
created from a backup.public String getSourceBackupId()
The identifier (ID) of the backup used to create the cluster. This value exists only when the cluster was created from a backup.
public Cluster withSourceBackupId(String sourceBackupId)
The identifier (ID) of the backup used to create the cluster. This value exists only when the cluster was created from a backup.
sourceBackupId
- The identifier (ID) of the backup used to create the cluster. This value exists only when the cluster was
created from a backup.public void setState(String state)
The cluster's state.
state
- The cluster's state.ClusterState
public String getState()
The cluster's state.
ClusterState
public Cluster withState(String state)
The cluster's state.
state
- The cluster's state.ClusterState
public Cluster withState(ClusterState state)
The cluster's state.
state
- The cluster's state.ClusterState
public void setStateMessage(String stateMessage)
A description of the cluster's state.
stateMessage
- A description of the cluster's state.public String getStateMessage()
A description of the cluster's state.
public Cluster withStateMessage(String stateMessage)
A description of the cluster's state.
stateMessage
- A description of the cluster's state.public Map<String,String> getSubnetMapping()
A map of the cluster's subnets and their corresponding Availability Zones.
public void setSubnetMapping(Map<String,String> subnetMapping)
A map of the cluster's subnets and their corresponding Availability Zones.
subnetMapping
- A map of the cluster's subnets and their corresponding Availability Zones.public Cluster withSubnetMapping(Map<String,String> subnetMapping)
A map of the cluster's subnets and their corresponding Availability Zones.
subnetMapping
- A map of the cluster's subnets and their corresponding Availability Zones.public Cluster clearSubnetMappingEntries()
public void setVpcId(String vpcId)
The identifier (ID) of the virtual private cloud (VPC) that contains the cluster.
vpcId
- The identifier (ID) of the virtual private cloud (VPC) that contains the cluster.public String getVpcId()
The identifier (ID) of the virtual private cloud (VPC) that contains the cluster.
public Cluster withVpcId(String vpcId)
The identifier (ID) of the virtual private cloud (VPC) that contains the cluster.
vpcId
- The identifier (ID) of the virtual private cloud (VPC) that contains the cluster.public void setCertificates(Certificates certificates)
Contains one or more certificates or a certificate signing request (CSR).
certificates
- Contains one or more certificates or a certificate signing request (CSR).public Certificates getCertificates()
Contains one or more certificates or a certificate signing request (CSR).
public Cluster withCertificates(Certificates certificates)
Contains one or more certificates or a certificate signing request (CSR).
certificates
- Contains one or more certificates or a certificate signing request (CSR).public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.