@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeHapgResult extends AmazonWebServiceResult<ResponseMetadata> 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()
|
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(Collection<String> hsmsLastActionFailed)
|
DescribeHapgResult |
withHsmsLastActionFailed(String... hsmsLastActionFailed)
|
DescribeHapgResult |
withHsmsPendingDeletion(Collection<String> hsmsPendingDeletion)
|
DescribeHapgResult |
withHsmsPendingDeletion(String... hsmsPendingDeletion)
|
DescribeHapgResult |
withHsmsPendingRegistration(Collection<String> hsmsPendingRegistration)
|
DescribeHapgResult |
withHsmsPendingRegistration(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(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.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setHapgArn(String hapgArn)
The ARN of the high-availability partition group.
hapgArn
- The ARN of the high-availability partition group.public String getHapgArn()
The ARN of the high-availability partition group.
public DescribeHapgResult withHapgArn(String hapgArn)
The ARN of the high-availability partition group.
hapgArn
- The ARN of the high-availability partition group.public void setHapgSerial(String hapgSerial)
The serial number of the high-availability partition group.
hapgSerial
- The serial number of the high-availability partition group.public String getHapgSerial()
The serial number of the high-availability partition group.
public DescribeHapgResult withHapgSerial(String hapgSerial)
The serial number of the high-availability partition group.
hapgSerial
- The serial number of the high-availability partition group.public void setHsmsLastActionFailed(Collection<String> hsmsLastActionFailed)
hsmsLastActionFailed
- 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.
hsmsLastActionFailed
- public DescribeHapgResult withHsmsLastActionFailed(Collection<String> hsmsLastActionFailed)
hsmsLastActionFailed
- public void setHsmsPendingDeletion(Collection<String> hsmsPendingDeletion)
hsmsPendingDeletion
- 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.
hsmsPendingDeletion
- public DescribeHapgResult withHsmsPendingDeletion(Collection<String> hsmsPendingDeletion)
hsmsPendingDeletion
- public void setHsmsPendingRegistration(Collection<String> hsmsPendingRegistration)
hsmsPendingRegistration
- 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.
hsmsPendingRegistration
- public DescribeHapgResult withHsmsPendingRegistration(Collection<String> hsmsPendingRegistration)
hsmsPendingRegistration
- public void setLabel(String label)
The label for the high-availability partition group.
label
- The label for the high-availability partition group.public String getLabel()
The label for the high-availability partition group.
public DescribeHapgResult withLabel(String label)
The label for the high-availability partition group.
label
- The label for the high-availability partition group.public void setLastModifiedTimestamp(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 String getLastModifiedTimestamp()
The date and time the high-availability partition group was last modified.
public DescribeHapgResult withLastModifiedTimestamp(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 List<String> getPartitionSerialList()
The list of partition serial numbers that belong to the high-availability partition group.
public void setPartitionSerialList(Collection<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(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(Collection<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(String state)
The state of the high-availability partition group.
state
- The state of the high-availability partition group.CloudHsmObjectState
public String getState()
The state of the high-availability partition group.
CloudHsmObjectState
public DescribeHapgResult withState(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 String toString()
toString
in class Object
Object.toString()
public DescribeHapgResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.