@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateVolumePermissionModifications extends Object implements Serializable, Cloneable
Describes modifications to the permissions for a volume.
| Constructor and Description | 
|---|
| CreateVolumePermissionModifications() | 
| Modifier and Type | Method and Description | 
|---|---|
| CreateVolumePermissionModifications | clone() | 
| boolean | equals(Object obj) | 
| List<CreateVolumePermission> | getAdd()
 Adds a specific AWS account ID or group to a volume's list of create volume permissions. | 
| List<CreateVolumePermission> | getRemove()
 Removes a specific AWS account ID or group from a volume's list of create volume permissions. | 
| int | hashCode() | 
| void | setAdd(Collection<CreateVolumePermission> add)
 Adds a specific AWS account ID or group to a volume's list of create volume permissions. | 
| void | setRemove(Collection<CreateVolumePermission> remove)
 Removes a specific AWS account ID or group from a volume's list of create volume permissions. | 
| String | toString()Returns a string representation of this object; useful for testing and debugging. | 
| CreateVolumePermissionModifications | withAdd(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(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 List<CreateVolumePermission> getAdd()
Adds a specific AWS account ID or group to a volume's list of create volume permissions.
public void setAdd(Collection<CreateVolumePermission> add)
Adds a specific AWS account ID or group to a volume's list of create volume permissions.
add - Adds a specific AWS account ID or group to a volume's list of create volume permissions.public CreateVolumePermissionModifications withAdd(CreateVolumePermission... add)
Adds a specific AWS account ID or group to a volume's list of create volume permissions.
 NOTE: This method appends the values to the existing list (if any). Use
 setAdd(java.util.Collection) or withAdd(java.util.Collection) if you want to override the
 existing values.
 
add - Adds a specific AWS account ID or group to a volume's list of create volume permissions.public CreateVolumePermissionModifications withAdd(Collection<CreateVolumePermission> add)
Adds a specific AWS account ID or group to a volume's list of create volume permissions.
add - Adds a specific AWS account ID or group to a volume's list of create volume permissions.public List<CreateVolumePermission> getRemove()
Removes a specific AWS account ID or group from a volume's list of create volume permissions.
public void setRemove(Collection<CreateVolumePermission> remove)
Removes a specific AWS account ID or group from a volume's list of create volume permissions.
remove - Removes a specific AWS account ID or group from a volume's list of create volume permissions.public CreateVolumePermissionModifications withRemove(CreateVolumePermission... remove)
Removes a specific AWS account ID or group from a volume's list of create volume permissions.
 NOTE: This method appends the values to the existing list (if any). Use
 setRemove(java.util.Collection) or withRemove(java.util.Collection) if you want to override the
 existing values.
 
remove - Removes a specific AWS account ID or group from a volume's list of create volume permissions.public CreateVolumePermissionModifications withRemove(Collection<CreateVolumePermission> remove)
Removes a specific AWS account ID or group from a volume's list of create volume permissions.
remove - Removes a specific AWS account ID or group from a volume's list of create volume permissions.public String toString()
toString in class ObjectObject.toString()public CreateVolumePermissionModifications clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.