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()
public void setAdd(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)
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.
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(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 List<CreateVolumePermission> getRemove()
public void setRemove(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)
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.
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(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 String toString()
toString in class ObjectObject.toString()public CreateVolumePermissionModifications clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.