public class DescribeHsmResult extends Object implements Serializable, Cloneable
Contains the output of the DescribeHsm action.
| Constructor and Description |
|---|
DescribeHsmResult() |
| Modifier and Type | Method and Description |
|---|---|
DescribeHsmResult |
clone() |
boolean |
equals(Object obj) |
String |
getAvailabilityZone()
The Availability Zone that the HSM is in.
|
String |
getEniId()
The identifier of the elastic network interface (ENI) attached to the
HSM.
|
String |
getEniIp()
The IP address assigned to the HSM's ENI.
|
String |
getHsmArn()
The ARN of the HSM.
|
String |
getHsmType()
The HSM model type.
|
String |
getIamRoleArn()
The ARN of the IAM role assigned to the HSM.
|
List<String> |
getPartitions()
The list of partitions on the HSM.
|
String |
getSerialNumber()
The serial number of the HSM.
|
String |
getServerCertLastUpdated()
The date and time the server certificate was last updated.
|
String |
getServerCertUri()
The URI of the certificate server.
|
String |
getSoftwareVersion()
The HSM software version.
|
String |
getSshKeyLastUpdated()
The date and time the SSH key was last updated.
|
String |
getSshPublicKey()
The public SSH key.
|
String |
getStatus()
The status of the HSM.
|
String |
getStatusDetails()
Contains additional information about the status of the HSM.
|
String |
getSubnetId()
The identifier of the subnet the HSM is in.
|
String |
getSubscriptionEndDate()
The subscription end date.
|
String |
getSubscriptionStartDate()
The subscription start date.
|
String |
getSubscriptionType()
The subscription type.
|
String |
getVendorName()
The name of the HSM vendor.
|
String |
getVpcId()
The identifier of the VPC that the HSM is in.
|
int |
hashCode() |
void |
setAvailabilityZone(String availabilityZone)
The Availability Zone that the HSM is in.
|
void |
setEniId(String eniId)
The identifier of the elastic network interface (ENI) attached to the
HSM.
|
void |
setEniIp(String eniIp)
The IP address assigned to the HSM's ENI.
|
void |
setHsmArn(String hsmArn)
The ARN of the HSM.
|
void |
setHsmType(String hsmType)
The HSM model type.
|
void |
setIamRoleArn(String iamRoleArn)
The ARN of the IAM role assigned to the HSM.
|
void |
setPartitions(Collection<String> partitions)
The list of partitions on the HSM.
|
void |
setSerialNumber(String serialNumber)
The serial number of the HSM.
|
void |
setServerCertLastUpdated(String serverCertLastUpdated)
The date and time the server certificate was last updated.
|
void |
setServerCertUri(String serverCertUri)
The URI of the certificate server.
|
void |
setSoftwareVersion(String softwareVersion)
The HSM software version.
|
void |
setSshKeyLastUpdated(String sshKeyLastUpdated)
The date and time the SSH key was last updated.
|
void |
setSshPublicKey(String sshPublicKey)
The public SSH key.
|
void |
setStatus(HsmStatus status)
The status of the HSM.
|
void |
setStatus(String status)
The status of the HSM.
|
void |
setStatusDetails(String statusDetails)
Contains additional information about the status of the HSM.
|
void |
setSubnetId(String subnetId)
The identifier of the subnet the HSM is in.
|
void |
setSubscriptionEndDate(String subscriptionEndDate)
The subscription end date.
|
void |
setSubscriptionStartDate(String subscriptionStartDate)
The subscription start date.
|
void |
setSubscriptionType(String subscriptionType)
The subscription type.
|
void |
setSubscriptionType(SubscriptionType subscriptionType)
The subscription type.
|
void |
setVendorName(String vendorName)
The name of the HSM vendor.
|
void |
setVpcId(String vpcId)
The identifier of the VPC that the HSM is in.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeHsmResult |
withAvailabilityZone(String availabilityZone)
The Availability Zone that the HSM is in.
|
DescribeHsmResult |
withEniId(String eniId)
The identifier of the elastic network interface (ENI) attached to the
HSM.
|
DescribeHsmResult |
withEniIp(String eniIp)
The IP address assigned to the HSM's ENI.
|
DescribeHsmResult |
withHsmArn(String hsmArn)
The ARN of the HSM.
|
DescribeHsmResult |
withHsmType(String hsmType)
The HSM model type.
|
DescribeHsmResult |
withIamRoleArn(String iamRoleArn)
The ARN of the IAM role assigned to the HSM.
|
DescribeHsmResult |
withPartitions(Collection<String> partitions)
The list of partitions on the HSM.
|
DescribeHsmResult |
withPartitions(String... partitions)
The list of partitions on the HSM.
|
DescribeHsmResult |
withSerialNumber(String serialNumber)
The serial number of the HSM.
|
DescribeHsmResult |
withServerCertLastUpdated(String serverCertLastUpdated)
The date and time the server certificate was last updated.
|
DescribeHsmResult |
withServerCertUri(String serverCertUri)
The URI of the certificate server.
|
DescribeHsmResult |
withSoftwareVersion(String softwareVersion)
The HSM software version.
|
DescribeHsmResult |
withSshKeyLastUpdated(String sshKeyLastUpdated)
The date and time the SSH key was last updated.
|
DescribeHsmResult |
withSshPublicKey(String sshPublicKey)
The public SSH key.
|
DescribeHsmResult |
withStatus(HsmStatus status)
The status of the HSM.
|
DescribeHsmResult |
withStatus(String status)
The status of the HSM.
|
DescribeHsmResult |
withStatusDetails(String statusDetails)
Contains additional information about the status of the HSM.
|
DescribeHsmResult |
withSubnetId(String subnetId)
The identifier of the subnet the HSM is in.
|
DescribeHsmResult |
withSubscriptionEndDate(String subscriptionEndDate)
The subscription end date.
|
DescribeHsmResult |
withSubscriptionStartDate(String subscriptionStartDate)
The subscription start date.
|
DescribeHsmResult |
withSubscriptionType(String subscriptionType)
The subscription type.
|
DescribeHsmResult |
withSubscriptionType(SubscriptionType subscriptionType)
The subscription type.
|
DescribeHsmResult |
withVendorName(String vendorName)
The name of the HSM vendor.
|
DescribeHsmResult |
withVpcId(String vpcId)
The identifier of the VPC that the HSM is in.
|
public String getHsmArn()
Constraints:
Pattern: arn:aws(-iso)?:cloudhsm:[a-zA-Z0-9\-]*:[0-9]{12}:hsm-[0-9a-f]{8}
public void setHsmArn(String hsmArn)
Constraints:
Pattern: arn:aws(-iso)?:cloudhsm:[a-zA-Z0-9\-]*:[0-9]{12}:hsm-[0-9a-f]{8}
hsmArn - The ARN of the HSM.public DescribeHsmResult withHsmArn(String hsmArn)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: arn:aws(-iso)?:cloudhsm:[a-zA-Z0-9\-]*:[0-9]{12}:hsm-[0-9a-f]{8}
hsmArn - The ARN of the HSM.public String getStatus()
Constraints:
Allowed Values: PENDING, RUNNING, UPDATING, SUSPENDED, TERMINATING, TERMINATED, DEGRADED
HsmStatuspublic void setStatus(String status)
Constraints:
Allowed Values: PENDING, RUNNING, UPDATING, SUSPENDED, TERMINATING, TERMINATED, DEGRADED
status - The status of the HSM.HsmStatuspublic DescribeHsmResult withStatus(String status)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: PENDING, RUNNING, UPDATING, SUSPENDED, TERMINATING, TERMINATED, DEGRADED
status - The status of the HSM.HsmStatuspublic void setStatus(HsmStatus status)
Constraints:
Allowed Values: PENDING, RUNNING, UPDATING, SUSPENDED, TERMINATING, TERMINATED, DEGRADED
status - The status of the HSM.HsmStatuspublic DescribeHsmResult withStatus(HsmStatus status)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: PENDING, RUNNING, UPDATING, SUSPENDED, TERMINATING, TERMINATED, DEGRADED
status - The status of the HSM.HsmStatuspublic String getStatusDetails()
Constraints:
Pattern: [\w :+=./\\-]*
public void setStatusDetails(String statusDetails)
Constraints:
Pattern: [\w :+=./\\-]*
statusDetails - Contains additional information about the status of the HSM.public DescribeHsmResult withStatusDetails(String statusDetails)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: [\w :+=./\\-]*
statusDetails - Contains additional information about the status of the HSM.public String getAvailabilityZone()
Constraints:
Pattern: [a-zA-Z0-9\-]*
public void setAvailabilityZone(String availabilityZone)
Constraints:
Pattern: [a-zA-Z0-9\-]*
availabilityZone - The Availability Zone that the HSM is in.public DescribeHsmResult withAvailabilityZone(String availabilityZone)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: [a-zA-Z0-9\-]*
availabilityZone - The Availability Zone that the HSM is in.public String getEniId()
Constraints:
Pattern: eni-[0-9a-f]{8}
public void setEniId(String eniId)
Constraints:
Pattern: eni-[0-9a-f]{8}
eniId - The identifier of the elastic network interface (ENI) attached to the
HSM.public DescribeHsmResult withEniId(String eniId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: eni-[0-9a-f]{8}
eniId - The identifier of the elastic network interface (ENI) attached to the
HSM.public String getEniIp()
Constraints:
Pattern: \d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}
public void setEniIp(String eniIp)
Constraints:
Pattern: \d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}
eniIp - The IP address assigned to the HSM's ENI.public DescribeHsmResult withEniIp(String eniIp)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: \d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}
eniIp - The IP address assigned to the HSM's ENI.public String getSubscriptionType()
Constraints:
Allowed Values: PRODUCTION
SubscriptionTypepublic void setSubscriptionType(String subscriptionType)
Constraints:
Allowed Values: PRODUCTION
subscriptionType - The subscription type.SubscriptionTypepublic DescribeHsmResult withSubscriptionType(String subscriptionType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: PRODUCTION
subscriptionType - The subscription type.SubscriptionTypepublic void setSubscriptionType(SubscriptionType subscriptionType)
Constraints:
Allowed Values: PRODUCTION
subscriptionType - The subscription type.SubscriptionTypepublic DescribeHsmResult withSubscriptionType(SubscriptionType subscriptionType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: PRODUCTION
subscriptionType - The subscription type.SubscriptionTypepublic String getSubscriptionStartDate()
Constraints:
Pattern: \d*
public void setSubscriptionStartDate(String subscriptionStartDate)
Constraints:
Pattern: \d*
subscriptionStartDate - The subscription start date.public DescribeHsmResult withSubscriptionStartDate(String subscriptionStartDate)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: \d*
subscriptionStartDate - The subscription start date.public String getSubscriptionEndDate()
Constraints:
Pattern: \d*
public void setSubscriptionEndDate(String subscriptionEndDate)
Constraints:
Pattern: \d*
subscriptionEndDate - The subscription end date.public DescribeHsmResult withSubscriptionEndDate(String subscriptionEndDate)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: \d*
subscriptionEndDate - The subscription end date.public String getVpcId()
Constraints:
Pattern: vpc-[0-9a-f]{8}
public void setVpcId(String vpcId)
Constraints:
Pattern: vpc-[0-9a-f]{8}
vpcId - The identifier of the VPC that the HSM is in.public DescribeHsmResult withVpcId(String vpcId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: vpc-[0-9a-f]{8}
vpcId - The identifier of the VPC that the HSM is in.public String getSubnetId()
Constraints:
Pattern: subnet-[0-9a-f]{8}
public void setSubnetId(String subnetId)
Constraints:
Pattern: subnet-[0-9a-f]{8}
subnetId - The identifier of the subnet the HSM is in.public DescribeHsmResult withSubnetId(String subnetId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: subnet-[0-9a-f]{8}
subnetId - The identifier of the subnet the HSM is in.public String getIamRoleArn()
Constraints:
Pattern: arn:aws(-iso)?:iam::[0-9]{12}:role/[a-zA-Z0-9_\+=,\.\-@]{1,64}
public void setIamRoleArn(String iamRoleArn)
Constraints:
Pattern: arn:aws(-iso)?:iam::[0-9]{12}:role/[a-zA-Z0-9_\+=,\.\-@]{1,64}
iamRoleArn - The ARN of the IAM role assigned to the HSM.public DescribeHsmResult withIamRoleArn(String iamRoleArn)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: arn:aws(-iso)?:iam::[0-9]{12}:role/[a-zA-Z0-9_\+=,\.\-@]{1,64}
iamRoleArn - The ARN of the IAM role assigned to the HSM.public String getSerialNumber()
Constraints:
Pattern: \d{1,16}
public void setSerialNumber(String serialNumber)
Constraints:
Pattern: \d{1,16}
serialNumber - The serial number of the HSM.public DescribeHsmResult withSerialNumber(String serialNumber)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: \d{1,16}
serialNumber - The serial number of the HSM.public String getVendorName()
Constraints:
Pattern: [\w :+=./\\-]*
public void setVendorName(String vendorName)
Constraints:
Pattern: [\w :+=./\\-]*
vendorName - The name of the HSM vendor.public DescribeHsmResult withVendorName(String vendorName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: [\w :+=./\\-]*
vendorName - The name of the HSM vendor.public String getHsmType()
Constraints:
Pattern: [\w :+=./\\-]*
public void setHsmType(String hsmType)
Constraints:
Pattern: [\w :+=./\\-]*
hsmType - The HSM model type.public DescribeHsmResult withHsmType(String hsmType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: [\w :+=./\\-]*
hsmType - The HSM model type.public String getSoftwareVersion()
Constraints:
Pattern: [\w :+=./\\-]*
public void setSoftwareVersion(String softwareVersion)
Constraints:
Pattern: [\w :+=./\\-]*
softwareVersion - The HSM software version.public DescribeHsmResult withSoftwareVersion(String softwareVersion)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: [\w :+=./\\-]*
softwareVersion - The HSM software version.public String getSshPublicKey()
Constraints:
Pattern: [a-zA-Z0-9+/= ._:\\@-]*
public void setSshPublicKey(String sshPublicKey)
Constraints:
Pattern: [a-zA-Z0-9+/= ._:\\@-]*
sshPublicKey - The public SSH key.public DescribeHsmResult withSshPublicKey(String sshPublicKey)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: [a-zA-Z0-9+/= ._:\\@-]*
sshPublicKey - The public SSH key.public String getSshKeyLastUpdated()
Constraints:
Pattern: \d*
public void setSshKeyLastUpdated(String sshKeyLastUpdated)
Constraints:
Pattern: \d*
sshKeyLastUpdated - The date and time the SSH key was last updated.public DescribeHsmResult withSshKeyLastUpdated(String sshKeyLastUpdated)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: \d*
sshKeyLastUpdated - The date and time the SSH key was last updated.public String getServerCertUri()
Constraints:
Pattern: [\w :+=./\\-]*
public void setServerCertUri(String serverCertUri)
Constraints:
Pattern: [\w :+=./\\-]*
serverCertUri - The URI of the certificate server.public DescribeHsmResult withServerCertUri(String serverCertUri)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: [\w :+=./\\-]*
serverCertUri - The URI of the certificate server.public String getServerCertLastUpdated()
Constraints:
Pattern: \d*
public void setServerCertLastUpdated(String serverCertLastUpdated)
Constraints:
Pattern: \d*
serverCertLastUpdated - The date and time the server certificate was last updated.public DescribeHsmResult withServerCertLastUpdated(String serverCertLastUpdated)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: \d*
serverCertLastUpdated - The date and time the server certificate was last updated.public List<String> getPartitions()
public void setPartitions(Collection<String> partitions)
partitions - The list of partitions on the HSM.public DescribeHsmResult withPartitions(String... partitions)
NOTE: This method appends the values to the existing list (if
any). Use setPartitions(java.util.Collection) or withPartitions(java.util.Collection) if you want to override the
existing values.
Returns a reference to this object so that method calls can be chained together.
partitions - The list of partitions on the HSM.public DescribeHsmResult withPartitions(Collection<String> partitions)
Returns a reference to this object so that method calls can be chained together.
partitions - The list of partitions on the HSM.public String toString()
toString in class ObjectObject.toString()public DescribeHsmResult clone()
Copyright © 2015. All rights reserved.