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:
  • Constructor Details

    • DescribeHapgResult

      public DescribeHapgResult()
  • Method Details

    • 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.
    • getHsmsLastActionFailed

      public List<String> getHsmsLastActionFailed()
      Returns:
    • 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) or withHsmsLastActionFailed(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.
    • getHsmsPendingDeletion

      public List<String> getHsmsPendingDeletion()
      Returns:
    • 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) or withHsmsPendingDeletion(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.
    • getHsmsPendingRegistration

      public List<String> getHsmsPendingRegistration()
      Returns:
    • 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) or withHsmsPendingRegistration(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) or withPartitionSerialList(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:
    • getState

      public String getState()

      The state of the high-availability partition group.

      Returns:
      The state of the high-availability partition group.
      See Also:
    • 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:
    • 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:
    • 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:
    • toString

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public DescribeHapgResult clone()
      Overrides:
      clone in class Object