Class ModifyHapgRequest

    • Constructor Detail

      • ModifyHapgRequest

        public ModifyHapgRequest()
    • Method Detail

      • 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:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object