Class DescribeHapgResult
- java.lang.Object
-
- com.amazonaws.services.cloudhsm.model.DescribeHapgResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class DescribeHapgResult extends Object implements Serializable, Cloneable
Contains the output of the DescribeHapg action.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeHapgResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeHapgResultclone()booleanequals(Object obj)StringgetHapgArn()The ARN of the high-availability partition group.StringgetHapgSerial()The serial number of the high-availability partition group.List<String>getHsmsLastActionFailed()List<String>getHsmsPendingDeletion()List<String>getHsmsPendingRegistration()StringgetLabel()The label for the high-availability partition group.StringgetLastModifiedTimestamp()The date and time the high-availability partition group was last modified.List<String>getPartitionSerialList()The list of partition serial numbers that belong to the high-availability partition group.StringgetState()The state of the high-availability partition group.inthashCode()voidsetHapgArn(String hapgArn)The ARN of the high-availability partition group.voidsetHapgSerial(String hapgSerial)The serial number of the high-availability partition group.voidsetHsmsLastActionFailed(Collection<String> hsmsLastActionFailed)voidsetHsmsPendingDeletion(Collection<String> hsmsPendingDeletion)voidsetHsmsPendingRegistration(Collection<String> hsmsPendingRegistration)voidsetLabel(String label)The label for the high-availability partition group.voidsetLastModifiedTimestamp(String lastModifiedTimestamp)The date and time the high-availability partition group was last modified.voidsetPartitionSerialList(Collection<String> partitionSerialList)The list of partition serial numbers that belong to the high-availability partition group.voidsetState(CloudHsmObjectState state)The state of the high-availability partition group.voidsetState(String state)The state of the high-availability partition group.StringtoString()Returns a string representation of this object; useful for testing and debugging.DescribeHapgResultwithHapgArn(String hapgArn)The ARN of the high-availability partition group.DescribeHapgResultwithHapgSerial(String hapgSerial)The serial number of the high-availability partition group.DescribeHapgResultwithHsmsLastActionFailed(String... hsmsLastActionFailed)NOTE: This method appends the values to the existing list (if any).DescribeHapgResultwithHsmsLastActionFailed(Collection<String> hsmsLastActionFailed)DescribeHapgResultwithHsmsPendingDeletion(String... hsmsPendingDeletion)NOTE: This method appends the values to the existing list (if any).DescribeHapgResultwithHsmsPendingDeletion(Collection<String> hsmsPendingDeletion)DescribeHapgResultwithHsmsPendingRegistration(String... hsmsPendingRegistration)NOTE: This method appends the values to the existing list (if any).DescribeHapgResultwithHsmsPendingRegistration(Collection<String> hsmsPendingRegistration)DescribeHapgResultwithLabel(String label)The label for the high-availability partition group.DescribeHapgResultwithLastModifiedTimestamp(String lastModifiedTimestamp)The date and time the high-availability partition group was last modified.DescribeHapgResultwithPartitionSerialList(String... partitionSerialList)The list of partition serial numbers that belong to the high-availability partition group.DescribeHapgResultwithPartitionSerialList(Collection<String> partitionSerialList)The list of partition serial numbers that belong to the high-availability partition group.DescribeHapgResultwithState(CloudHsmObjectState state)The state of the high-availability partition group.DescribeHapgResultwithState(String state)The state of the high-availability partition group.
-
-
-
Method Detail
-
setHapgArn
public void setHapgArn(String hapgArn)
The ARN of the high-availability partition group.
- Parameters:
hapgArn- The ARN of the high-availability partition group.
-
getHapgArn
public String getHapgArn()
The ARN of the high-availability partition group.
- Returns:
- The ARN of the high-availability partition group.
-
withHapgArn
public DescribeHapgResult withHapgArn(String hapgArn)
The ARN of the high-availability partition group.
- Parameters:
hapgArn- The ARN of the high-availability partition group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setHapgSerial
public void setHapgSerial(String hapgSerial)
The serial number of the high-availability partition group.
- Parameters:
hapgSerial- The serial number of the high-availability partition group.
-
getHapgSerial
public String getHapgSerial()
The serial number of the high-availability partition group.
- Returns:
- The serial number of the high-availability partition group.
-
withHapgSerial
public DescribeHapgResult withHapgSerial(String hapgSerial)
The serial number of the high-availability partition group.
- Parameters:
hapgSerial- The serial number of the high-availability partition group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setHsmsLastActionFailed
public void setHsmsLastActionFailed(Collection<String> hsmsLastActionFailed)
- Parameters:
hsmsLastActionFailed-
-
withHsmsLastActionFailed
public DescribeHapgResult withHsmsLastActionFailed(String... hsmsLastActionFailed)
NOTE: This method appends the values to the existing list (if any). Use
setHsmsLastActionFailed(java.util.Collection)orwithHsmsLastActionFailed(java.util.Collection)if you want to override the existing values.- Parameters:
hsmsLastActionFailed-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withHsmsLastActionFailed
public DescribeHapgResult withHsmsLastActionFailed(Collection<String> hsmsLastActionFailed)
- Parameters:
hsmsLastActionFailed-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setHsmsPendingDeletion
public void setHsmsPendingDeletion(Collection<String> hsmsPendingDeletion)
- Parameters:
hsmsPendingDeletion-
-
withHsmsPendingDeletion
public DescribeHapgResult withHsmsPendingDeletion(String... hsmsPendingDeletion)
NOTE: This method appends the values to the existing list (if any). Use
setHsmsPendingDeletion(java.util.Collection)orwithHsmsPendingDeletion(java.util.Collection)if you want to override the existing values.- Parameters:
hsmsPendingDeletion-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withHsmsPendingDeletion
public DescribeHapgResult withHsmsPendingDeletion(Collection<String> hsmsPendingDeletion)
- Parameters:
hsmsPendingDeletion-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setHsmsPendingRegistration
public void setHsmsPendingRegistration(Collection<String> hsmsPendingRegistration)
- Parameters:
hsmsPendingRegistration-
-
withHsmsPendingRegistration
public DescribeHapgResult withHsmsPendingRegistration(String... hsmsPendingRegistration)
NOTE: This method appends the values to the existing list (if any). Use
setHsmsPendingRegistration(java.util.Collection)orwithHsmsPendingRegistration(java.util.Collection)if you want to override the existing values.- Parameters:
hsmsPendingRegistration-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withHsmsPendingRegistration
public DescribeHapgResult withHsmsPendingRegistration(Collection<String> hsmsPendingRegistration)
- Parameters:
hsmsPendingRegistration-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLabel
public void setLabel(String label)
The label for the high-availability partition group.
- Parameters:
label- The label for the high-availability partition group.
-
getLabel
public String getLabel()
The label for the high-availability partition group.
- Returns:
- The label for the high-availability partition group.
-
withLabel
public DescribeHapgResult withLabel(String label)
The label for the high-availability partition group.
- Parameters:
label- The label for the high-availability partition group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLastModifiedTimestamp
public void setLastModifiedTimestamp(String lastModifiedTimestamp)
The date and time the high-availability partition group was last modified.
- Parameters:
lastModifiedTimestamp- The date and time the high-availability partition group was last modified.
-
getLastModifiedTimestamp
public String getLastModifiedTimestamp()
The date and time the high-availability partition group was last modified.
- Returns:
- The date and time the high-availability partition group was last modified.
-
withLastModifiedTimestamp
public DescribeHapgResult withLastModifiedTimestamp(String lastModifiedTimestamp)
The date and time the high-availability partition group was last modified.
- Parameters:
lastModifiedTimestamp- The date and time the high-availability partition group was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getPartitionSerialList
public List<String> getPartitionSerialList()
The list of partition serial numbers that belong to the high-availability partition group.
- Returns:
- The list of partition serial numbers that belong to the high-availability partition group.
-
setPartitionSerialList
public void setPartitionSerialList(Collection<String> partitionSerialList)
The list of partition serial numbers that belong to the high-availability partition group.
- Parameters:
partitionSerialList- The list of partition serial numbers that belong to the high-availability partition group.
-
withPartitionSerialList
public DescribeHapgResult withPartitionSerialList(String... partitionSerialList)
The list of partition serial numbers that belong to the high-availability partition group.
NOTE: This method appends the values to the existing list (if any). Use
setPartitionSerialList(java.util.Collection)orwithPartitionSerialList(java.util.Collection)if you want to override the existing values.- Parameters:
partitionSerialList- The list of partition serial numbers that belong to the high-availability partition group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withPartitionSerialList
public DescribeHapgResult withPartitionSerialList(Collection<String> partitionSerialList)
The list of partition serial numbers that belong to the high-availability partition group.
- Parameters:
partitionSerialList- The list of partition serial numbers that belong to the high-availability partition group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setState
public void setState(String state)
The state of the high-availability partition group.
- Parameters:
state- The state of the high-availability partition group.- See Also:
CloudHsmObjectState
-
getState
public String getState()
The state of the high-availability partition group.
- Returns:
- The state of the high-availability partition group.
- See Also:
CloudHsmObjectState
-
withState
public DescribeHapgResult withState(String state)
The state of the high-availability partition group.
- Parameters:
state- The state of the high-availability partition group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CloudHsmObjectState
-
setState
public void setState(CloudHsmObjectState state)
The state of the high-availability partition group.
- Parameters:
state- The state of the high-availability partition group.- See Also:
CloudHsmObjectState
-
withState
public DescribeHapgResult withState(CloudHsmObjectState state)
The state of the high-availability partition group.
- Parameters:
state- The state of the high-availability partition group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CloudHsmObjectState
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeHapgResult clone()
-
-