public class DescribeHsmResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the output of the DescribeHsm operation.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
availabilityZone
The Availability Zone that the HSM is in.
|
private java.lang.String |
eniId
The identifier of the elastic network interface (ENI) attached to the
HSM.
|
private java.lang.String |
eniIp
The IP address assigned to the HSM's ENI.
|
private java.lang.String |
hsmArn
The ARN of the HSM.
|
private java.lang.String |
hsmType
The HSM model type.
|
private java.lang.String |
iamRoleArn
The ARN of the IAM role assigned to the HSM.
|
private SdkInternalList<java.lang.String> |
partitions
The list of partitions on the HSM.
|
private java.lang.String |
serialNumber
The serial number of the HSM.
|
private java.lang.String |
serverCertLastUpdated
The date and time that the server certificate was last updated.
|
private java.lang.String |
serverCertUri
The URI of the certificate server.
|
private java.lang.String |
softwareVersion
The HSM software version.
|
private java.lang.String |
sshKeyLastUpdated
The date and time that the SSH key was last updated.
|
private java.lang.String |
sshPublicKey
The public SSH key.
|
private java.lang.String |
status
The status of the HSM.
|
private java.lang.String |
statusDetails
Contains additional information about the status of the HSM.
|
private java.lang.String |
subnetId
The identifier of the subnet that the HSM is in.
|
private java.lang.String |
subscriptionEndDate
The subscription end date.
|
private java.lang.String |
subscriptionStartDate
The subscription start date.
|
private java.lang.String |
subscriptionType |
private java.lang.String |
vendorName
The name of the HSM vendor.
|
private java.lang.String |
vpcId
The identifier of the VPC that the HSM is in.
|
Constructor and Description |
---|
DescribeHsmResult() |
Modifier and Type | Method and Description |
---|---|
DescribeHsmResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAvailabilityZone()
The Availability Zone that the HSM is in.
|
java.lang.String |
getEniId()
The identifier of the elastic network interface (ENI) attached to the
HSM.
|
java.lang.String |
getEniIp()
The IP address assigned to the HSM's ENI.
|
java.lang.String |
getHsmArn()
The ARN of the HSM.
|
java.lang.String |
getHsmType()
The HSM model type.
|
java.lang.String |
getIamRoleArn()
The ARN of the IAM role assigned to the HSM.
|
java.util.List<java.lang.String> |
getPartitions()
The list of partitions on the HSM.
|
java.lang.String |
getSerialNumber()
The serial number of the HSM.
|
java.lang.String |
getServerCertLastUpdated()
The date and time that the server certificate was last updated.
|
java.lang.String |
getServerCertUri()
The URI of the certificate server.
|
java.lang.String |
getSoftwareVersion()
The HSM software version.
|
java.lang.String |
getSshKeyLastUpdated()
The date and time that the SSH key was last updated.
|
java.lang.String |
getSshPublicKey()
The public SSH key.
|
java.lang.String |
getStatus()
The status of the HSM.
|
java.lang.String |
getStatusDetails()
Contains additional information about the status of the HSM.
|
java.lang.String |
getSubnetId()
The identifier of the subnet that the HSM is in.
|
java.lang.String |
getSubscriptionEndDate()
The subscription end date.
|
java.lang.String |
getSubscriptionStartDate()
The subscription start date.
|
java.lang.String |
getSubscriptionType() |
java.lang.String |
getVendorName()
The name of the HSM vendor.
|
java.lang.String |
getVpcId()
The identifier of the VPC that the HSM is in.
|
int |
hashCode() |
void |
setAvailabilityZone(java.lang.String availabilityZone)
The Availability Zone that the HSM is in.
|
void |
setEniId(java.lang.String eniId)
The identifier of the elastic network interface (ENI) attached to the
HSM.
|
void |
setEniIp(java.lang.String eniIp)
The IP address assigned to the HSM's ENI.
|
void |
setHsmArn(java.lang.String hsmArn)
The ARN of the HSM.
|
void |
setHsmType(java.lang.String hsmType)
The HSM model type.
|
void |
setIamRoleArn(java.lang.String iamRoleArn)
The ARN of the IAM role assigned to the HSM.
|
void |
setPartitions(java.util.Collection<java.lang.String> partitions)
The list of partitions on the HSM.
|
void |
setSerialNumber(java.lang.String serialNumber)
The serial number of the HSM.
|
void |
setServerCertLastUpdated(java.lang.String serverCertLastUpdated)
The date and time that the server certificate was last updated.
|
void |
setServerCertUri(java.lang.String serverCertUri)
The URI of the certificate server.
|
void |
setSoftwareVersion(java.lang.String softwareVersion)
The HSM software version.
|
void |
setSshKeyLastUpdated(java.lang.String sshKeyLastUpdated)
The date and time that the SSH key was last updated.
|
void |
setSshPublicKey(java.lang.String sshPublicKey)
The public SSH key.
|
void |
setStatus(HsmStatus status)
The status of the HSM.
|
void |
setStatus(java.lang.String status)
The status of the HSM.
|
void |
setStatusDetails(java.lang.String statusDetails)
Contains additional information about the status of the HSM.
|
void |
setSubnetId(java.lang.String subnetId)
The identifier of the subnet that the HSM is in.
|
void |
setSubscriptionEndDate(java.lang.String subscriptionEndDate)
The subscription end date.
|
void |
setSubscriptionStartDate(java.lang.String subscriptionStartDate)
The subscription start date.
|
void |
setSubscriptionType(java.lang.String subscriptionType) |
void |
setSubscriptionType(SubscriptionType subscriptionType) |
void |
setVendorName(java.lang.String vendorName)
The name of the HSM vendor.
|
void |
setVpcId(java.lang.String vpcId)
The identifier of the VPC that the HSM is in.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeHsmResult |
withAvailabilityZone(java.lang.String availabilityZone)
The Availability Zone that the HSM is in.
|
DescribeHsmResult |
withEniId(java.lang.String eniId)
The identifier of the elastic network interface (ENI) attached to the
HSM.
|
DescribeHsmResult |
withEniIp(java.lang.String eniIp)
The IP address assigned to the HSM's ENI.
|
DescribeHsmResult |
withHsmArn(java.lang.String hsmArn)
The ARN of the HSM.
|
DescribeHsmResult |
withHsmType(java.lang.String hsmType)
The HSM model type.
|
DescribeHsmResult |
withIamRoleArn(java.lang.String iamRoleArn)
The ARN of the IAM role assigned to the HSM.
|
DescribeHsmResult |
withPartitions(java.util.Collection<java.lang.String> partitions)
The list of partitions on the HSM.
|
DescribeHsmResult |
withPartitions(java.lang.String... partitions)
The list of partitions on the HSM.
|
DescribeHsmResult |
withSerialNumber(java.lang.String serialNumber)
The serial number of the HSM.
|
DescribeHsmResult |
withServerCertLastUpdated(java.lang.String serverCertLastUpdated)
The date and time that the server certificate was last updated.
|
DescribeHsmResult |
withServerCertUri(java.lang.String serverCertUri)
The URI of the certificate server.
|
DescribeHsmResult |
withSoftwareVersion(java.lang.String softwareVersion)
The HSM software version.
|
DescribeHsmResult |
withSshKeyLastUpdated(java.lang.String sshKeyLastUpdated)
The date and time that the SSH key was last updated.
|
DescribeHsmResult |
withSshPublicKey(java.lang.String sshPublicKey)
The public SSH key.
|
DescribeHsmResult |
withStatus(HsmStatus status)
The status of the HSM.
|
DescribeHsmResult |
withStatus(java.lang.String status)
The status of the HSM.
|
DescribeHsmResult |
withStatusDetails(java.lang.String statusDetails)
Contains additional information about the status of the HSM.
|
DescribeHsmResult |
withSubnetId(java.lang.String subnetId)
The identifier of the subnet that the HSM is in.
|
DescribeHsmResult |
withSubscriptionEndDate(java.lang.String subscriptionEndDate)
The subscription end date.
|
DescribeHsmResult |
withSubscriptionStartDate(java.lang.String subscriptionStartDate)
The subscription start date.
|
DescribeHsmResult |
withSubscriptionType(java.lang.String subscriptionType) |
DescribeHsmResult |
withSubscriptionType(SubscriptionType subscriptionType) |
DescribeHsmResult |
withVendorName(java.lang.String vendorName)
The name of the HSM vendor.
|
DescribeHsmResult |
withVpcId(java.lang.String vpcId)
The identifier of the VPC that the HSM is in.
|
private java.lang.String hsmArn
The ARN of the HSM.
private java.lang.String status
The status of the HSM.
private java.lang.String statusDetails
Contains additional information about the status of the HSM.
private java.lang.String availabilityZone
The Availability Zone that the HSM is in.
private java.lang.String eniId
The identifier of the elastic network interface (ENI) attached to the HSM.
private java.lang.String eniIp
The IP address assigned to the HSM's ENI.
private java.lang.String subscriptionType
private java.lang.String subscriptionStartDate
The subscription start date.
private java.lang.String subscriptionEndDate
The subscription end date.
private java.lang.String vpcId
The identifier of the VPC that the HSM is in.
private java.lang.String subnetId
The identifier of the subnet that the HSM is in.
private java.lang.String iamRoleArn
The ARN of the IAM role assigned to the HSM.
private java.lang.String serialNumber
The serial number of the HSM.
private java.lang.String vendorName
The name of the HSM vendor.
private java.lang.String hsmType
The HSM model type.
private java.lang.String softwareVersion
The HSM software version.
private java.lang.String sshPublicKey
The public SSH key.
private java.lang.String sshKeyLastUpdated
The date and time that the SSH key was last updated.
private java.lang.String serverCertUri
The URI of the certificate server.
private java.lang.String serverCertLastUpdated
The date and time that the server certificate was last updated.
private SdkInternalList<java.lang.String> partitions
The list of partitions on the HSM.
public void setHsmArn(java.lang.String hsmArn)
The ARN of the HSM.
hsmArn
- The ARN of the HSM.public java.lang.String getHsmArn()
The ARN of the HSM.
public DescribeHsmResult withHsmArn(java.lang.String hsmArn)
The ARN of the HSM.
hsmArn
- The ARN of the HSM.public void setStatus(java.lang.String status)
The status of the HSM.
status
- The status of the HSM.HsmStatus
public java.lang.String getStatus()
The status of the HSM.
HsmStatus
public DescribeHsmResult withStatus(java.lang.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(java.lang.String statusDetails)
Contains additional information about the status of the HSM.
statusDetails
- Contains additional information about the status of the HSM.public java.lang.String getStatusDetails()
Contains additional information about the status of the HSM.
public DescribeHsmResult withStatusDetails(java.lang.String statusDetails)
Contains additional information about the status of the HSM.
statusDetails
- Contains additional information about the status of the HSM.public void setAvailabilityZone(java.lang.String availabilityZone)
The Availability Zone that the HSM is in.
availabilityZone
- The Availability Zone that the HSM is in.public java.lang.String getAvailabilityZone()
The Availability Zone that the HSM is in.
public DescribeHsmResult withAvailabilityZone(java.lang.String availabilityZone)
The Availability Zone that the HSM is in.
availabilityZone
- The Availability Zone that the HSM is in.public void setEniId(java.lang.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 java.lang.String getEniId()
The identifier of the elastic network interface (ENI) attached to the HSM.
public DescribeHsmResult withEniId(java.lang.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(java.lang.String eniIp)
The IP address assigned to the HSM's ENI.
eniIp
- The IP address assigned to the HSM's ENI.public java.lang.String getEniIp()
The IP address assigned to the HSM's ENI.
public DescribeHsmResult withEniIp(java.lang.String eniIp)
The IP address assigned to the HSM's ENI.
eniIp
- The IP address assigned to the HSM's ENI.public void setSubscriptionType(java.lang.String subscriptionType)
subscriptionType
- SubscriptionType
public java.lang.String getSubscriptionType()
SubscriptionType
public DescribeHsmResult withSubscriptionType(java.lang.String subscriptionType)
subscriptionType
- SubscriptionType
public void setSubscriptionType(SubscriptionType subscriptionType)
subscriptionType
- SubscriptionType
public DescribeHsmResult withSubscriptionType(SubscriptionType subscriptionType)
subscriptionType
- SubscriptionType
public void setSubscriptionStartDate(java.lang.String subscriptionStartDate)
The subscription start date.
subscriptionStartDate
- The subscription start date.public java.lang.String getSubscriptionStartDate()
The subscription start date.
public DescribeHsmResult withSubscriptionStartDate(java.lang.String subscriptionStartDate)
The subscription start date.
subscriptionStartDate
- The subscription start date.public void setSubscriptionEndDate(java.lang.String subscriptionEndDate)
The subscription end date.
subscriptionEndDate
- The subscription end date.public java.lang.String getSubscriptionEndDate()
The subscription end date.
public DescribeHsmResult withSubscriptionEndDate(java.lang.String subscriptionEndDate)
The subscription end date.
subscriptionEndDate
- The subscription end date.public void setVpcId(java.lang.String vpcId)
The identifier of the VPC that the HSM is in.
vpcId
- The identifier of the VPC that the HSM is in.public java.lang.String getVpcId()
The identifier of the VPC that the HSM is in.
public DescribeHsmResult withVpcId(java.lang.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(java.lang.String subnetId)
The identifier of the subnet that the HSM is in.
subnetId
- The identifier of the subnet that the HSM is in.public java.lang.String getSubnetId()
The identifier of the subnet that the HSM is in.
public DescribeHsmResult withSubnetId(java.lang.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(java.lang.String iamRoleArn)
The ARN of the IAM role assigned to the HSM.
iamRoleArn
- The ARN of the IAM role assigned to the HSM.public java.lang.String getIamRoleArn()
The ARN of the IAM role assigned to the HSM.
public DescribeHsmResult withIamRoleArn(java.lang.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(java.lang.String serialNumber)
The serial number of the HSM.
serialNumber
- The serial number of the HSM.public java.lang.String getSerialNumber()
The serial number of the HSM.
public DescribeHsmResult withSerialNumber(java.lang.String serialNumber)
The serial number of the HSM.
serialNumber
- The serial number of the HSM.public void setVendorName(java.lang.String vendorName)
The name of the HSM vendor.
vendorName
- The name of the HSM vendor.public java.lang.String getVendorName()
The name of the HSM vendor.
public DescribeHsmResult withVendorName(java.lang.String vendorName)
The name of the HSM vendor.
vendorName
- The name of the HSM vendor.public void setHsmType(java.lang.String hsmType)
The HSM model type.
hsmType
- The HSM model type.public java.lang.String getHsmType()
The HSM model type.
public DescribeHsmResult withHsmType(java.lang.String hsmType)
The HSM model type.
hsmType
- The HSM model type.public void setSoftwareVersion(java.lang.String softwareVersion)
The HSM software version.
softwareVersion
- The HSM software version.public java.lang.String getSoftwareVersion()
The HSM software version.
public DescribeHsmResult withSoftwareVersion(java.lang.String softwareVersion)
The HSM software version.
softwareVersion
- The HSM software version.public void setSshPublicKey(java.lang.String sshPublicKey)
The public SSH key.
sshPublicKey
- The public SSH key.public java.lang.String getSshPublicKey()
The public SSH key.
public DescribeHsmResult withSshPublicKey(java.lang.String sshPublicKey)
The public SSH key.
sshPublicKey
- The public SSH key.public void setSshKeyLastUpdated(java.lang.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 java.lang.String getSshKeyLastUpdated()
The date and time that the SSH key was last updated.
public DescribeHsmResult withSshKeyLastUpdated(java.lang.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(java.lang.String serverCertUri)
The URI of the certificate server.
serverCertUri
- The URI of the certificate server.public java.lang.String getServerCertUri()
The URI of the certificate server.
public DescribeHsmResult withServerCertUri(java.lang.String serverCertUri)
The URI of the certificate server.
serverCertUri
- The URI of the certificate server.public void setServerCertLastUpdated(java.lang.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 java.lang.String getServerCertLastUpdated()
The date and time that the server certificate was last updated.
public DescribeHsmResult withServerCertLastUpdated(java.lang.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 java.util.List<java.lang.String> getPartitions()
The list of partitions on the HSM.
public void setPartitions(java.util.Collection<java.lang.String> partitions)
The list of partitions on the HSM.
partitions
- The list of partitions on the HSM.public DescribeHsmResult withPartitions(java.lang.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(java.util.Collection<java.lang.String> partitions)
The list of partitions on the HSM.
partitions
- The list of partitions on the HSM.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeHsmResult clone()
clone
in class java.lang.Object