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 DescribeHapgResult
clone()
boolean
equals(Object obj)
String
getHapgArn()
The ARN of the high-availability partition group.String
getHapgSerial()
The serial number of the high-availability partition group.List<String>
getHsmsLastActionFailed()
List<String>
getHsmsPendingDeletion()
List<String>
getHsmsPendingRegistration()
String
getLabel()
The label for the high-availability partition group.String
getLastModifiedTimestamp()
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.String
getState()
The state of the high-availability partition group.int
hashCode()
void
setHapgArn(String hapgArn)
The ARN of the high-availability partition group.void
setHapgSerial(String hapgSerial)
The serial number of the high-availability partition group.void
setHsmsLastActionFailed(Collection<String> hsmsLastActionFailed)
void
setHsmsPendingDeletion(Collection<String> hsmsPendingDeletion)
void
setHsmsPendingRegistration(Collection<String> hsmsPendingRegistration)
void
setLabel(String label)
The label for the high-availability partition group.void
setLastModifiedTimestamp(String lastModifiedTimestamp)
The date and time the high-availability partition group was last modified.void
setPartitionSerialList(Collection<String> partitionSerialList)
The list of partition serial numbers that belong to the high-availability partition group.void
setState(CloudHsmObjectState state)
The state of the high-availability partition group.void
setState(String state)
The state of the high-availability partition group.String
toString()
Returns a string representation of this object; useful for testing and debugging.DescribeHapgResult
withHapgArn(String hapgArn)
The ARN of the high-availability partition group.DescribeHapgResult
withHapgSerial(String hapgSerial)
The serial number of the high-availability partition group.DescribeHapgResult
withHsmsLastActionFailed(String... hsmsLastActionFailed)
NOTE: This method appends the values to the existing list (if any).DescribeHapgResult
withHsmsLastActionFailed(Collection<String> hsmsLastActionFailed)
DescribeHapgResult
withHsmsPendingDeletion(String... hsmsPendingDeletion)
NOTE: This method appends the values to the existing list (if any).DescribeHapgResult
withHsmsPendingDeletion(Collection<String> hsmsPendingDeletion)
DescribeHapgResult
withHsmsPendingRegistration(String... hsmsPendingRegistration)
NOTE: This method appends the values to the existing list (if any).DescribeHapgResult
withHsmsPendingRegistration(Collection<String> hsmsPendingRegistration)
DescribeHapgResult
withLabel(String label)
The label for the high-availability partition group.DescribeHapgResult
withLastModifiedTimestamp(String lastModifiedTimestamp)
The date and time the high-availability partition group was last modified.DescribeHapgResult
withPartitionSerialList(String... partitionSerialList)
The list of partition serial numbers that belong to the high-availability partition group.DescribeHapgResult
withPartitionSerialList(Collection<String> partitionSerialList)
The list of partition serial numbers that belong to the high-availability partition group.DescribeHapgResult
withState(CloudHsmObjectState state)
The state of the high-availability partition group.DescribeHapgResult
withState(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeHapgResult clone()
-
-