Class CreateVolumePermission

    • Constructor Detail

      • CreateVolumePermission

        public CreateVolumePermission()
    • Method Detail

      • setUserId

        public void setUserId​(String userId)

        The specific AWS account ID that is to be added or removed from a volume's list of create volume permissions.

        Parameters:
        userId - The specific AWS account ID that is to be added or removed from a volume's list of create volume permissions.
      • getUserId

        public String getUserId()

        The specific AWS account ID that is to be added or removed from a volume's list of create volume permissions.

        Returns:
        The specific AWS account ID that is to be added or removed from a volume's list of create volume permissions.
      • withUserId

        public CreateVolumePermission withUserId​(String userId)

        The specific AWS account ID that is to be added or removed from a volume's list of create volume permissions.

        Parameters:
        userId - The specific AWS account ID that is to be added or removed from a volume's list of create volume permissions.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setGroup

        public void setGroup​(String group)

        The specific group that is to be added or removed from a volume's list of create volume permissions.

        Parameters:
        group - The specific group that is to be added or removed from a volume's list of create volume permissions.
        See Also:
        PermissionGroup
      • getGroup

        public String getGroup()

        The specific group that is to be added or removed from a volume's list of create volume permissions.

        Returns:
        The specific group that is to be added or removed from a volume's list of create volume permissions.
        See Also:
        PermissionGroup
      • withGroup

        public CreateVolumePermission withGroup​(String group)

        The specific group that is to be added or removed from a volume's list of create volume permissions.

        Parameters:
        group - The specific group that is to be added or removed from a volume's list of create volume permissions.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PermissionGroup
      • setGroup

        public void setGroup​(PermissionGroup group)

        The specific group that is to be added or removed from a volume's list of create volume permissions.

        Parameters:
        group - The specific group that is to be added or removed from a volume's list of create volume permissions.
        See Also:
        PermissionGroup
      • withGroup

        public CreateVolumePermission withGroup​(PermissionGroup group)

        The specific group that is to be added or removed from a volume's list of create volume permissions.

        Parameters:
        group - The specific group that is to be added or removed from a volume's list of create volume permissions.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PermissionGroup
      • 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