public class DescribeHapgResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the output of the DescribeHapg action.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
hapgArn
The ARN of the high-availability partition group.
|
private java.lang.String |
hapgSerial
The serial number of the high-availability partition group.
|
private SdkInternalList<java.lang.String> |
hsmsLastActionFailed |
private SdkInternalList<java.lang.String> |
hsmsPendingDeletion |
private SdkInternalList<java.lang.String> |
hsmsPendingRegistration |
private java.lang.String |
label
The label for the high-availability partition group.
|
private java.lang.String |
lastModifiedTimestamp
The date and time the high-availability partition group was last
modified.
|
private SdkInternalList<java.lang.String> |
partitionSerialList
The list of partition serial numbers that belong to the high-availability
partition group.
|
private java.lang.String |
state
The state of the high-availability partition group.
|
Constructor and Description |
---|
DescribeHapgResult() |
Modifier and Type | Method and Description |
---|---|
DescribeHapgResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getHapgArn()
The ARN of the high-availability partition group.
|
java.lang.String |
getHapgSerial()
The serial number of the high-availability partition group.
|
java.util.List<java.lang.String> |
getHsmsLastActionFailed() |
java.util.List<java.lang.String> |
getHsmsPendingDeletion() |
java.util.List<java.lang.String> |
getHsmsPendingRegistration() |
java.lang.String |
getLabel()
The label for the high-availability partition group.
|
java.lang.String |
getLastModifiedTimestamp()
The date and time the high-availability partition group was last
modified.
|
java.util.List<java.lang.String> |
getPartitionSerialList()
The list of partition serial numbers that belong to the high-availability
partition group.
|
java.lang.String |
getState()
The state of the high-availability partition group.
|
int |
hashCode() |
void |
setHapgArn(java.lang.String hapgArn)
The ARN of the high-availability partition group.
|
void |
setHapgSerial(java.lang.String hapgSerial)
The serial number of the high-availability partition group.
|
void |
setHsmsLastActionFailed(java.util.Collection<java.lang.String> hsmsLastActionFailed) |
void |
setHsmsPendingDeletion(java.util.Collection<java.lang.String> hsmsPendingDeletion) |
void |
setHsmsPendingRegistration(java.util.Collection<java.lang.String> hsmsPendingRegistration) |
void |
setLabel(java.lang.String label)
The label for the high-availability partition group.
|
void |
setLastModifiedTimestamp(java.lang.String lastModifiedTimestamp)
The date and time the high-availability partition group was last
modified.
|
void |
setPartitionSerialList(java.util.Collection<java.lang.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(java.lang.String state)
The state of the high-availability partition group.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeHapgResult |
withHapgArn(java.lang.String hapgArn)
The ARN of the high-availability partition group.
|
DescribeHapgResult |
withHapgSerial(java.lang.String hapgSerial)
The serial number of the high-availability partition group.
|
DescribeHapgResult |
withHsmsLastActionFailed(java.util.Collection<java.lang.String> hsmsLastActionFailed) |
DescribeHapgResult |
withHsmsLastActionFailed(java.lang.String... hsmsLastActionFailed)
NOTE: This method appends the values to the existing list (if
any).
|
DescribeHapgResult |
withHsmsPendingDeletion(java.util.Collection<java.lang.String> hsmsPendingDeletion) |
DescribeHapgResult |
withHsmsPendingDeletion(java.lang.String... hsmsPendingDeletion)
NOTE: This method appends the values to the existing list (if
any).
|
DescribeHapgResult |
withHsmsPendingRegistration(java.util.Collection<java.lang.String> hsmsPendingRegistration) |
DescribeHapgResult |
withHsmsPendingRegistration(java.lang.String... hsmsPendingRegistration)
NOTE: This method appends the values to the existing list (if
any).
|
DescribeHapgResult |
withLabel(java.lang.String label)
The label for the high-availability partition group.
|
DescribeHapgResult |
withLastModifiedTimestamp(java.lang.String lastModifiedTimestamp)
The date and time the high-availability partition group was last
modified.
|
DescribeHapgResult |
withPartitionSerialList(java.util.Collection<java.lang.String> partitionSerialList)
The list of partition serial numbers that belong to the high-availability
partition group.
|
DescribeHapgResult |
withPartitionSerialList(java.lang.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(java.lang.String state)
The state of the high-availability partition group.
|
private java.lang.String hapgArn
The ARN of the high-availability partition group.
private java.lang.String hapgSerial
The serial number of the high-availability partition group.
private SdkInternalList<java.lang.String> hsmsLastActionFailed
private SdkInternalList<java.lang.String> hsmsPendingDeletion
private SdkInternalList<java.lang.String> hsmsPendingRegistration
private java.lang.String label
The label for the high-availability partition group.
private java.lang.String lastModifiedTimestamp
The date and time the high-availability partition group was last modified.
private SdkInternalList<java.lang.String> partitionSerialList
The list of partition serial numbers that belong to the high-availability partition group.
private java.lang.String state
The state of the high-availability partition group.
public void setHapgArn(java.lang.String hapgArn)
The ARN of the high-availability partition group.
hapgArn
- The ARN of the high-availability partition group.public java.lang.String getHapgArn()
The ARN of the high-availability partition group.
public DescribeHapgResult withHapgArn(java.lang.String hapgArn)
The ARN of the high-availability partition group.
hapgArn
- The ARN of the high-availability partition group.public void setHapgSerial(java.lang.String hapgSerial)
The serial number of the high-availability partition group.
hapgSerial
- The serial number of the high-availability partition group.public java.lang.String getHapgSerial()
The serial number of the high-availability partition group.
public DescribeHapgResult withHapgSerial(java.lang.String hapgSerial)
The serial number of the high-availability partition group.
hapgSerial
- The serial number of the high-availability partition group.public java.util.List<java.lang.String> getHsmsLastActionFailed()
public void setHsmsLastActionFailed(java.util.Collection<java.lang.String> hsmsLastActionFailed)
hsmsLastActionFailed
- public DescribeHapgResult withHsmsLastActionFailed(java.lang.String... hsmsLastActionFailed)
NOTE: This method appends the values to the existing list (if
any). Use setHsmsLastActionFailed(java.util.Collection)
or
withHsmsLastActionFailed(java.util.Collection)
if you want to
override the existing values.
hsmsLastActionFailed
- public DescribeHapgResult withHsmsLastActionFailed(java.util.Collection<java.lang.String> hsmsLastActionFailed)
hsmsLastActionFailed
- public java.util.List<java.lang.String> getHsmsPendingDeletion()
public void setHsmsPendingDeletion(java.util.Collection<java.lang.String> hsmsPendingDeletion)
hsmsPendingDeletion
- public DescribeHapgResult withHsmsPendingDeletion(java.lang.String... hsmsPendingDeletion)
NOTE: This method appends the values to the existing list (if
any). Use setHsmsPendingDeletion(java.util.Collection)
or
withHsmsPendingDeletion(java.util.Collection)
if you want to
override the existing values.
hsmsPendingDeletion
- public DescribeHapgResult withHsmsPendingDeletion(java.util.Collection<java.lang.String> hsmsPendingDeletion)
hsmsPendingDeletion
- public java.util.List<java.lang.String> getHsmsPendingRegistration()
public void setHsmsPendingRegistration(java.util.Collection<java.lang.String> hsmsPendingRegistration)
hsmsPendingRegistration
- public DescribeHapgResult withHsmsPendingRegistration(java.lang.String... hsmsPendingRegistration)
NOTE: This method appends the values to the existing list (if
any). Use setHsmsPendingRegistration(java.util.Collection)
or
withHsmsPendingRegistration(java.util.Collection)
if you want to
override the existing values.
hsmsPendingRegistration
- public DescribeHapgResult withHsmsPendingRegistration(java.util.Collection<java.lang.String> hsmsPendingRegistration)
hsmsPendingRegistration
- public void setLabel(java.lang.String label)
The label for the high-availability partition group.
label
- The label for the high-availability partition group.public java.lang.String getLabel()
The label for the high-availability partition group.
public DescribeHapgResult withLabel(java.lang.String label)
The label for the high-availability partition group.
label
- The label for the high-availability partition group.public void setLastModifiedTimestamp(java.lang.String lastModifiedTimestamp)
The date and time the high-availability partition group was last modified.
lastModifiedTimestamp
- The date and time the high-availability partition group was last
modified.public java.lang.String getLastModifiedTimestamp()
The date and time the high-availability partition group was last modified.
public DescribeHapgResult withLastModifiedTimestamp(java.lang.String lastModifiedTimestamp)
The date and time the high-availability partition group was last modified.
lastModifiedTimestamp
- The date and time the high-availability partition group was last
modified.public java.util.List<java.lang.String> getPartitionSerialList()
The list of partition serial numbers that belong to the high-availability partition group.
public void setPartitionSerialList(java.util.Collection<java.lang.String> partitionSerialList)
The list of partition serial numbers that belong to the high-availability partition group.
partitionSerialList
- The list of partition serial numbers that belong to the
high-availability partition group.public DescribeHapgResult withPartitionSerialList(java.lang.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)
or
withPartitionSerialList(java.util.Collection)
if you want to
override the existing values.
partitionSerialList
- The list of partition serial numbers that belong to the
high-availability partition group.public DescribeHapgResult withPartitionSerialList(java.util.Collection<java.lang.String> partitionSerialList)
The list of partition serial numbers that belong to the high-availability partition group.
partitionSerialList
- The list of partition serial numbers that belong to the
high-availability partition group.public void setState(java.lang.String state)
The state of the high-availability partition group.
state
- The state of the high-availability partition group.CloudHsmObjectState
public java.lang.String getState()
The state of the high-availability partition group.
CloudHsmObjectState
public DescribeHapgResult withState(java.lang.String state)
The state of the high-availability partition group.
state
- The state of the high-availability partition group.CloudHsmObjectState
public void setState(CloudHsmObjectState state)
The state of the high-availability partition group.
state
- The state of the high-availability partition group.CloudHsmObjectState
public DescribeHapgResult withState(CloudHsmObjectState state)
The state of the high-availability partition group.
state
- The state of the high-availability partition group.CloudHsmObjectState
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 DescribeHapgResult clone()
clone
in class java.lang.Object