Class CreateVolumePermission
- All Implemented Interfaces:
Serializable, Cloneable
Describes the user or group to be added or removed from the permissions for a volume.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleangetGroup()The specific group that is to be added or removed from a volume's list of create volume permissions.The specific AWS account ID that is to be added or removed from a volume's list of create volume permissions.inthashCode()voidsetGroup(PermissionGroup group) The specific group that is to be added or removed from a volume's list of create volume permissions.voidThe specific group that is to be added or removed from a volume's list of create volume permissions.voidThe specific AWS account ID that is to be added or removed from a volume's list of create volume permissions.toString()Returns a string representation of this object; useful for testing and debugging.withGroup(PermissionGroup group) The specific group that is to be added or removed from a volume's list of create volume permissions.The specific group that is to be added or removed from a volume's list of create volume permissions.withUserId(String userId) The specific AWS account ID that is to be added or removed from a volume's list of create volume permissions.
-
Constructor Details
-
CreateVolumePermission
public CreateVolumePermission()
-
-
Method Details
-
setUserId
The specific AWS account ID that is to be added or removed from a volume's list of create volume permissions.
- Parameters:
userId- The specific AWS account ID that is to be added or removed from a volume's list of create volume permissions.
-
getUserId
The specific AWS account ID that is to be added or removed from a volume's list of create volume permissions.
- Returns:
- The specific AWS account ID that is to be added or removed from a volume's list of create volume permissions.
-
withUserId
The specific AWS account ID that is to be added or removed from a volume's list of create volume permissions.
- Parameters:
userId- The specific AWS account ID that is to be added or removed from a volume's list of create volume permissions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setGroup
The specific group that is to be added or removed from a volume's list of create volume permissions.
- Parameters:
group- The specific group that is to be added or removed from a volume's list of create volume permissions.- See Also:
-
getGroup
The specific group that is to be added or removed from a volume's list of create volume permissions.
- Returns:
- The specific group that is to be added or removed from a volume's list of create volume permissions.
- See Also:
-
withGroup
The specific group that is to be added or removed from a volume's list of create volume permissions.
- Parameters:
group- The specific group that is to be added or removed from a volume's list of create volume permissions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setGroup
The specific group that is to be added or removed from a volume's list of create volume permissions.
- Parameters:
group- The specific group that is to be added or removed from a volume's list of create volume permissions.- See Also:
-
withGroup
The specific group that is to be added or removed from a volume's list of create volume permissions.
- Parameters:
group- The specific group that is to be added or removed from a volume's list of create volume permissions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
toString
-
equals
-
hashCode
-
clone
-