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()
boolean
getGroup()
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.int
hashCode()
void
setGroup
(PermissionGroup group) The specific group that is to be added or removed from a volume's list of create volume permissions.void
The specific group that is to be added or removed from a volume's list of create volume permissions.void
The 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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-