@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeHsmResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains the output of the DescribeHsm operation.
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 that 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 that 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 that the HSM is in.
|
String |
getSubscriptionEndDate()
The subscription end date.
|
String |
getSubscriptionStartDate()
The subscription start date.
|
String |
getSubscriptionType() |
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 that 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 that 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 that the HSM is in.
|
void |
setSubscriptionEndDate(String subscriptionEndDate)
The subscription end date.
|
void |
setSubscriptionStartDate(String subscriptionStartDate)
The subscription start date.
|
void |
setSubscriptionType(String subscriptionType) |
void |
setSubscriptionType(SubscriptionType subscriptionType) |
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.
|
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 that 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 that 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 that the HSM is in.
|
DescribeHsmResult |
withSubscriptionEndDate(String subscriptionEndDate)
The subscription end date.
|
DescribeHsmResult |
withSubscriptionStartDate(String subscriptionStartDate)
The subscription start date.
|
DescribeHsmResult |
withSubscriptionType(String subscriptionType) |
DescribeHsmResult |
withSubscriptionType(SubscriptionType subscriptionType) |
DescribeHsmResult |
withVendorName(String vendorName)
The name of the HSM vendor.
|
DescribeHsmResult |
withVpcId(String vpcId)
The identifier of the VPC that the HSM is in.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setHsmArn(String hsmArn)
The ARN of the HSM.
hsmArn
- The ARN of the HSM.public String getHsmArn()
The ARN of the HSM.
public DescribeHsmResult withHsmArn(String hsmArn)
The ARN of the HSM.
hsmArn
- The ARN of the HSM.public void setStatus(String status)
The status of the HSM.
status
- The status of the HSM.HsmStatus
public String getStatus()
The status of the HSM.
HsmStatus
public DescribeHsmResult withStatus(String status)
The status of the HSM.
status
- The status of the HSM.HsmStatus
public void setStatus(HsmStatus status)
The status of the HSM.
status
- The status of the HSM.HsmStatus
public DescribeHsmResult withStatus(HsmStatus status)
The status of the HSM.
status
- The status of the HSM.HsmStatus
public void setStatusDetails(String statusDetails)
Contains additional information about the status of the HSM.
statusDetails
- Contains additional information about the status of the HSM.public String getStatusDetails()
Contains additional information about the status of the HSM.
public DescribeHsmResult withStatusDetails(String statusDetails)
Contains additional information about the status of the HSM.
statusDetails
- Contains additional information about the status of the HSM.public void setAvailabilityZone(String availabilityZone)
The Availability Zone that the HSM is in.
availabilityZone
- The Availability Zone that the HSM is in.public String getAvailabilityZone()
The Availability Zone that the HSM is in.
public DescribeHsmResult withAvailabilityZone(String availabilityZone)
The Availability Zone that the HSM is in.
availabilityZone
- The Availability Zone that the HSM is in.public void setEniId(String eniId)
The identifier of the elastic network interface (ENI) attached to the HSM.
eniId
- The identifier of the elastic network interface (ENI) attached to the HSM.public String getEniId()
The identifier of the elastic network interface (ENI) attached to the HSM.
public DescribeHsmResult withEniId(String eniId)
The identifier of the elastic network interface (ENI) attached to the HSM.
eniId
- The identifier of the elastic network interface (ENI) attached to the HSM.public void setEniIp(String eniIp)
The IP address assigned to the HSM's ENI.
eniIp
- The IP address assigned to the HSM's ENI.public String getEniIp()
The IP address assigned to the HSM's ENI.
public DescribeHsmResult withEniIp(String eniIp)
The IP address assigned to the HSM's ENI.
eniIp
- The IP address assigned to the HSM's ENI.public void setSubscriptionType(String subscriptionType)
subscriptionType
- SubscriptionType
public String getSubscriptionType()
SubscriptionType
public DescribeHsmResult withSubscriptionType(String subscriptionType)
subscriptionType
- SubscriptionType
public void setSubscriptionType(SubscriptionType subscriptionType)
subscriptionType
- SubscriptionType
public DescribeHsmResult withSubscriptionType(SubscriptionType subscriptionType)
subscriptionType
- SubscriptionType
public void setSubscriptionStartDate(String subscriptionStartDate)
The subscription start date.
subscriptionStartDate
- The subscription start date.public String getSubscriptionStartDate()
The subscription start date.
public DescribeHsmResult withSubscriptionStartDate(String subscriptionStartDate)
The subscription start date.
subscriptionStartDate
- The subscription start date.public void setSubscriptionEndDate(String subscriptionEndDate)
The subscription end date.
subscriptionEndDate
- The subscription end date.public String getSubscriptionEndDate()
The subscription end date.
public DescribeHsmResult withSubscriptionEndDate(String subscriptionEndDate)
The subscription end date.
subscriptionEndDate
- The subscription end date.public void setVpcId(String vpcId)
The identifier of the VPC that the HSM is in.
vpcId
- The identifier of the VPC that the HSM is in.public String getVpcId()
The identifier of the VPC that the HSM is in.
public DescribeHsmResult withVpcId(String vpcId)
The identifier of the VPC that the HSM is in.
vpcId
- The identifier of the VPC that the HSM is in.public void setSubnetId(String subnetId)
The identifier of the subnet that the HSM is in.
subnetId
- The identifier of the subnet that the HSM is in.public String getSubnetId()
The identifier of the subnet that the HSM is in.
public DescribeHsmResult withSubnetId(String subnetId)
The identifier of the subnet that the HSM is in.
subnetId
- The identifier of the subnet that the HSM is in.public void setIamRoleArn(String iamRoleArn)
The ARN of the IAM role assigned to the HSM.
iamRoleArn
- The ARN of the IAM role assigned to the HSM.public String getIamRoleArn()
The ARN of the IAM role assigned to the HSM.
public DescribeHsmResult withIamRoleArn(String iamRoleArn)
The ARN of the IAM role assigned to the HSM.
iamRoleArn
- The ARN of the IAM role assigned to the HSM.public void setSerialNumber(String serialNumber)
The serial number of the HSM.
serialNumber
- The serial number of the HSM.public String getSerialNumber()
The serial number of the HSM.
public DescribeHsmResult withSerialNumber(String serialNumber)
The serial number of the HSM.
serialNumber
- The serial number of the HSM.public void setVendorName(String vendorName)
The name of the HSM vendor.
vendorName
- The name of the HSM vendor.public String getVendorName()
The name of the HSM vendor.
public DescribeHsmResult withVendorName(String vendorName)
The name of the HSM vendor.
vendorName
- The name of the HSM vendor.public void setHsmType(String hsmType)
The HSM model type.
hsmType
- The HSM model type.public String getHsmType()
The HSM model type.
public DescribeHsmResult withHsmType(String hsmType)
The HSM model type.
hsmType
- The HSM model type.public void setSoftwareVersion(String softwareVersion)
The HSM software version.
softwareVersion
- The HSM software version.public String getSoftwareVersion()
The HSM software version.
public DescribeHsmResult withSoftwareVersion(String softwareVersion)
The HSM software version.
softwareVersion
- The HSM software version.public void setSshPublicKey(String sshPublicKey)
The public SSH key.
sshPublicKey
- The public SSH key.public String getSshPublicKey()
The public SSH key.
public DescribeHsmResult withSshPublicKey(String sshPublicKey)
The public SSH key.
sshPublicKey
- The public SSH key.public void setSshKeyLastUpdated(String sshKeyLastUpdated)
The date and time that the SSH key was last updated.
sshKeyLastUpdated
- The date and time that the SSH key was last updated.public String getSshKeyLastUpdated()
The date and time that the SSH key was last updated.
public DescribeHsmResult withSshKeyLastUpdated(String sshKeyLastUpdated)
The date and time that the SSH key was last updated.
sshKeyLastUpdated
- The date and time that the SSH key was last updated.public void setServerCertUri(String serverCertUri)
The URI of the certificate server.
serverCertUri
- The URI of the certificate server.public String getServerCertUri()
The URI of the certificate server.
public DescribeHsmResult withServerCertUri(String serverCertUri)
The URI of the certificate server.
serverCertUri
- The URI of the certificate server.public void setServerCertLastUpdated(String serverCertLastUpdated)
The date and time that the server certificate was last updated.
serverCertLastUpdated
- The date and time that the server certificate was last updated.public String getServerCertLastUpdated()
The date and time that the server certificate was last updated.
public DescribeHsmResult withServerCertLastUpdated(String serverCertLastUpdated)
The date and time that the server certificate was last updated.
serverCertLastUpdated
- The date and time that the server certificate was last updated.public List<String> getPartitions()
The list of partitions on the HSM.
public void setPartitions(Collection<String> partitions)
The list of partitions on the HSM.
partitions
- The list of partitions on the HSM.public DescribeHsmResult withPartitions(String... partitions)
The list of partitions on the HSM.
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.
partitions
- The list of partitions on the HSM.public DescribeHsmResult withPartitions(Collection<String> partitions)
The list of partitions on the HSM.
partitions
- The list of partitions on the HSM.public String toString()
toString
in class Object
Object.toString()
public DescribeHsmResult clone()