public class CreateVolumePermissionModifications extends Object implements Serializable
Constructor and Description |
---|
CreateVolumePermissionModifications() |
Modifier and Type | Method and Description |
---|---|
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)
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)
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 Object
Object.toString()
Copyright © 2015. All rights reserved.