Class CreateVolumePermissionModifications
- All Implemented Interfaces:
Serializable
,Cloneable
Describes modifications to the permissions for a volume.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
getAdd()
Adds a specific AWS account ID or group to a volume's list of create volume permissions.Removes a specific AWS account ID or group from a volume's list of create volume permissions.int
hashCode()
void
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.toString()
Returns a string representation of this object; useful for testing and debugging.withAdd
(CreateVolumePermission... add) Adds a specific AWS account ID or group to a volume's list of create volume permissions.Adds a specific AWS account ID or group to a volume's list of create volume permissions.withRemove
(CreateVolumePermission... remove) Removes a specific AWS account ID or group from a volume's list of create volume permissions.withRemove
(Collection<CreateVolumePermission> remove) Removes a specific AWS account ID or group from a volume's list of create volume permissions.
-
Constructor Details
-
CreateVolumePermissionModifications
public CreateVolumePermissionModifications()
-
-
Method Details
-
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
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
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)
orwithAdd(java.util.Collection)
if you want to override the existing values.- 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.
-
withAdd
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
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
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
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)
orwithRemove(java.util.Collection)
if you want to override the existing values.- 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.
-
withRemove
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-