public class DescribeHapgResult extends Object implements Serializable, Cloneable
Contains the output of the DescribeHapg action.
Constructor and Description |
---|
DescribeHapgResult() |
Modifier and Type | Method and 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()
Contains a list of ARNs that identify the HSMs.
|
List<String> |
getHsmsPendingDeletion()
Contains a list of ARNs that identify the HSMs.
|
List<String> |
getHsmsPendingRegistration()
Contains a list of ARNs that identify the HSMs.
|
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)
Contains a list of ARNs that identify the HSMs.
|
void |
setHsmsPendingDeletion(Collection<String> hsmsPendingDeletion)
Contains a list of ARNs that identify the HSMs.
|
void |
setHsmsPendingRegistration(Collection<String> hsmsPendingRegistration)
Contains a list of ARNs that identify the HSMs.
|
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(Collection<String> hsmsLastActionFailed)
Contains a list of ARNs that identify the HSMs.
|
DescribeHapgResult |
withHsmsLastActionFailed(String... hsmsLastActionFailed)
Contains a list of ARNs that identify the HSMs.
|
DescribeHapgResult |
withHsmsPendingDeletion(Collection<String> hsmsPendingDeletion)
Contains a list of ARNs that identify the HSMs.
|
DescribeHapgResult |
withHsmsPendingDeletion(String... hsmsPendingDeletion)
Contains a list of ARNs that identify the HSMs.
|
DescribeHapgResult |
withHsmsPendingRegistration(Collection<String> hsmsPendingRegistration)
Contains a list of ARNs that identify the HSMs.
|
DescribeHapgResult |
withHsmsPendingRegistration(String... hsmsPendingRegistration)
Contains a list of ARNs that identify the HSMs.
|
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(Collection<String> partitionSerialList)
The list of partition serial numbers that belong to the
high-availability partition group.
|
DescribeHapgResult |
withPartitionSerialList(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.
|
public String getHapgArn()
Constraints:
Pattern: arn:aws(-iso)?:cloudhsm:[a-zA-Z0-9\-]*:[0-9]{12}:hapg-[0-9a-f]{8}
public void setHapgArn(String hapgArn)
Constraints:
Pattern: arn:aws(-iso)?:cloudhsm:[a-zA-Z0-9\-]*:[0-9]{12}:hapg-[0-9a-f]{8}
hapgArn
- The ARN of the high-availability partition group.public DescribeHapgResult withHapgArn(String hapgArn)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: arn:aws(-iso)?:cloudhsm:[a-zA-Z0-9\-]*:[0-9]{12}:hapg-[0-9a-f]{8}
hapgArn
- The ARN of the high-availability partition group.public String getHapgSerial()
Constraints:
Pattern: [\w :+=./\\-]*
public void setHapgSerial(String hapgSerial)
Constraints:
Pattern: [\w :+=./\\-]*
hapgSerial
- The serial number of the high-availability partition group.public DescribeHapgResult withHapgSerial(String hapgSerial)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: [\w :+=./\\-]*
hapgSerial
- The serial number of the high-availability partition group.public List<String> getHsmsLastActionFailed()
public void setHsmsLastActionFailed(Collection<String> hsmsLastActionFailed)
hsmsLastActionFailed
- Contains a list of ARNs that identify the HSMs.public DescribeHapgResult withHsmsLastActionFailed(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.
Returns a reference to this object so that method calls can be chained together.
hsmsLastActionFailed
- Contains a list of ARNs that identify the HSMs.public DescribeHapgResult withHsmsLastActionFailed(Collection<String> hsmsLastActionFailed)
Returns a reference to this object so that method calls can be chained together.
hsmsLastActionFailed
- Contains a list of ARNs that identify the HSMs.public List<String> getHsmsPendingDeletion()
public void setHsmsPendingDeletion(Collection<String> hsmsPendingDeletion)
hsmsPendingDeletion
- Contains a list of ARNs that identify the HSMs.public DescribeHapgResult withHsmsPendingDeletion(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.
Returns a reference to this object so that method calls can be chained together.
hsmsPendingDeletion
- Contains a list of ARNs that identify the HSMs.public DescribeHapgResult withHsmsPendingDeletion(Collection<String> hsmsPendingDeletion)
Returns a reference to this object so that method calls can be chained together.
hsmsPendingDeletion
- Contains a list of ARNs that identify the HSMs.public List<String> getHsmsPendingRegistration()
public void setHsmsPendingRegistration(Collection<String> hsmsPendingRegistration)
hsmsPendingRegistration
- Contains a list of ARNs that identify the HSMs.public DescribeHapgResult withHsmsPendingRegistration(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.
Returns a reference to this object so that method calls can be chained together.
hsmsPendingRegistration
- Contains a list of ARNs that identify the HSMs.public DescribeHapgResult withHsmsPendingRegistration(Collection<String> hsmsPendingRegistration)
Returns a reference to this object so that method calls can be chained together.
hsmsPendingRegistration
- Contains a list of ARNs that identify the HSMs.public String getLabel()
Constraints:
Pattern: [a-zA-Z0-9_.-]{1,64}
public void setLabel(String label)
Constraints:
Pattern: [a-zA-Z0-9_.-]{1,64}
label
- The label for the high-availability partition group.public DescribeHapgResult withLabel(String label)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: [a-zA-Z0-9_.-]{1,64}
label
- The label for the high-availability partition group.public String getLastModifiedTimestamp()
Constraints:
Pattern: \d*
public void setLastModifiedTimestamp(String lastModifiedTimestamp)
Constraints:
Pattern: \d*
lastModifiedTimestamp
- The date and time the high-availability partition group was last
modified.public DescribeHapgResult withLastModifiedTimestamp(String lastModifiedTimestamp)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: \d*
lastModifiedTimestamp
- The date and time the high-availability partition group was last
modified.public List<String> getPartitionSerialList()
public void setPartitionSerialList(Collection<String> partitionSerialList)
partitionSerialList
- The list of partition serial numbers that belong to the
high-availability partition group.public DescribeHapgResult withPartitionSerialList(String... partitionSerialList)
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.
Returns a reference to this object so that method calls can be chained together.
partitionSerialList
- The list of partition serial numbers that belong to the
high-availability partition group.public DescribeHapgResult withPartitionSerialList(Collection<String> partitionSerialList)
Returns a reference to this object so that method calls can be chained together.
partitionSerialList
- The list of partition serial numbers that belong to the
high-availability partition group.public String getState()
Constraints:
Allowed Values: READY, UPDATING, DEGRADED
CloudHsmObjectState
public void setState(String state)
Constraints:
Allowed Values: READY, UPDATING, DEGRADED
state
- The state of the high-availability partition group.CloudHsmObjectState
public DescribeHapgResult withState(String state)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: READY, UPDATING, DEGRADED
state
- The state of the high-availability partition group.CloudHsmObjectState
public void setState(CloudHsmObjectState state)
Constraints:
Allowed Values: READY, UPDATING, DEGRADED
state
- The state of the high-availability partition group.CloudHsmObjectState
public DescribeHapgResult withState(CloudHsmObjectState state)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: READY, UPDATING, DEGRADED
state
- The state of the high-availability partition group.CloudHsmObjectState
public String toString()
toString
in class Object
Object.toString()
public DescribeHapgResult clone()
Copyright © 2015. All rights reserved.