Class CreateVolumePermissionModifications

    • Constructor Detail

      • CreateVolumePermissionModifications

        public CreateVolumePermissionModifications()
    • Method Detail

      • getAdd

        public List<CreateVolumePermission> getAdd()

        Adds a specific AWS account ID or group to a volume's list of create volume permissions.

        Returns:
        Adds a specific AWS account ID or group to a volume's list of create volume permissions.
      • setAdd

        public void setAdd​(Collection<CreateVolumePermission> add)

        Adds a specific AWS account ID or group to a volume's list of create volume permissions.

        Parameters:
        add - Adds a specific AWS account ID or group to a volume's list of create volume permissions.
      • withAdd

        public CreateVolumePermissionModifications withAdd​(Collection<CreateVolumePermission> add)

        Adds a specific AWS account ID or group to a volume's list of create volume permissions.

        Parameters:
        add - Adds a specific AWS account ID or group to a volume's list of create volume permissions.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getRemove

        public List<CreateVolumePermission> getRemove()

        Removes a specific AWS account ID or group from a volume's list of create volume permissions.

        Returns:
        Removes a specific AWS account ID or group from a volume's list of create volume permissions.
      • setRemove

        public void setRemove​(Collection<CreateVolumePermission> remove)

        Removes a specific AWS account ID or group from a volume's list of create volume permissions.

        Parameters:
        remove - Removes a specific AWS account ID or group from a volume's list of create volume permissions.
      • withRemove

        public CreateVolumePermissionModifications withRemove​(Collection<CreateVolumePermission> remove)

        Removes a specific AWS account ID or group from a volume's list of create volume permissions.

        Parameters:
        remove - Removes a specific AWS account ID or group from a volume's list of create volume permissions.
        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