public class CreateVolumePermissionModifications
extends java.lang.Object
implements java.io.Serializable
Describes modifications to the permissions for a volume.
| Constructor and Description | 
|---|
| CreateVolumePermissionModifications() | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(java.lang.Object obj) | 
| java.util.List<CreateVolumePermission> | getAdd()Adds a specific AWS account ID or group to a volume's list of create
 volume permissions. | 
| java.util.List<CreateVolumePermission> | getRemove()Removes a specific AWS account ID or group from a volume's list of
 create volume permissions. | 
| int | hashCode() | 
| void | setAdd(java.util.Collection<CreateVolumePermission> add)Adds a specific AWS account ID or group to a volume's list of create
 volume permissions. | 
| void | setRemove(java.util.Collection<CreateVolumePermission> remove)Removes a specific AWS account ID or group from a volume's list of
 create volume permissions. | 
| java.lang.String | toString()Returns a string representation of this object; useful for testing and
 debugging. | 
| CreateVolumePermissionModifications | withAdd(java.util.Collection<CreateVolumePermission> add)Adds a specific AWS account ID or group to a volume's list of create
 volume permissions. | 
| CreateVolumePermissionModifications | withAdd(CreateVolumePermission... add)Adds a specific AWS account ID or group to a volume's list of create
 volume permissions. | 
| CreateVolumePermissionModifications | withRemove(java.util.Collection<CreateVolumePermission> remove)Removes a specific AWS account ID or group from a volume's list of
 create volume permissions. | 
| CreateVolumePermissionModifications | withRemove(CreateVolumePermission... remove)Removes a specific AWS account ID or group from a volume's list of
 create volume permissions. | 
public java.util.List<CreateVolumePermission> getAdd()
public void setAdd(java.util.Collection<CreateVolumePermission> add)
add - Adds a specific AWS account ID or group to a volume's list of create
         volume permissions.public CreateVolumePermissionModifications withAdd(CreateVolumePermission... add)
Returns a reference to this object so that method calls can be chained together.
add - Adds a specific AWS account ID or group to a volume's list of create
         volume permissions.public CreateVolumePermissionModifications withAdd(java.util.Collection<CreateVolumePermission> add)
Returns a reference to this object so that method calls can be chained together.
add - Adds a specific AWS account ID or group to a volume's list of create
         volume permissions.public java.util.List<CreateVolumePermission> getRemove()
public void setRemove(java.util.Collection<CreateVolumePermission> remove)
remove - Removes a specific AWS account ID or group from a volume's list of
         create volume permissions.public CreateVolumePermissionModifications withRemove(CreateVolumePermission... remove)
Returns a reference to this object so that method calls can be chained together.
remove - Removes a specific AWS account ID or group from a volume's list of
         create volume permissions.public CreateVolumePermissionModifications withRemove(java.util.Collection<CreateVolumePermission> remove)
Returns a reference to this object so that method calls can be chained together.
remove - Removes a specific AWS account ID or group from a volume's list of
         create volume permissions.public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object