Class ModifyHapgRequest

java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.cloudhsm.model.ModifyHapgRequest
All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable

public class ModifyHapgRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
See Also:
  • Constructor Details

    • ModifyHapgRequest

      public ModifyHapgRequest()
  • Method Details

    • setHapgArn

      public void setHapgArn(String hapgArn)

      The ARN of the high-availability partition group to modify.

      Parameters:
      hapgArn - The ARN of the high-availability partition group to modify.
    • getHapgArn

      public String getHapgArn()

      The ARN of the high-availability partition group to modify.

      Returns:
      The ARN of the high-availability partition group to modify.
    • withHapgArn

      public ModifyHapgRequest withHapgArn(String hapgArn)

      The ARN of the high-availability partition group to modify.

      Parameters:
      hapgArn - The ARN of the high-availability partition group to modify.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setLabel

      public void setLabel(String label)

      The new label for the high-availability partition group.

      Parameters:
      label - The new label for the high-availability partition group.
    • getLabel

      public String getLabel()

      The new label for the high-availability partition group.

      Returns:
      The new label for the high-availability partition group.
    • withLabel

      public ModifyHapgRequest withLabel(String label)

      The new label for the high-availability partition group.

      Parameters:
      label - The new label for the high-availability partition group.
      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 to make members of the high-availability partition group.

      Returns:
      The list of partition serial numbers to make members of the high-availability partition group.
    • setPartitionSerialList

      public void setPartitionSerialList(Collection<String> partitionSerialList)

      The list of partition serial numbers to make members of the high-availability partition group.

      Parameters:
      partitionSerialList - The list of partition serial numbers to make members of the high-availability partition group.
    • withPartitionSerialList

      public ModifyHapgRequest withPartitionSerialList(String... partitionSerialList)

      The list of partition serial numbers to make members of 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 to make members of the high-availability partition group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withPartitionSerialList

      public ModifyHapgRequest withPartitionSerialList(Collection<String> partitionSerialList)

      The list of partition serial numbers to make members of the high-availability partition group.

      Parameters:
      partitionSerialList - The list of partition serial numbers to make members of the high-availability partition group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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 ModifyHapgRequest clone()
      Description copied from class: AmazonWebServiceRequest
      Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.
      Overrides:
      clone in class AmazonWebServiceRequest
      See Also: