public class CreateVolumePermission extends Object implements Serializable
Constructor and Description |
---|
CreateVolumePermission() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getGroup()
The specific group that is to be added or removed from a volume's list
of create volume permissions.
|
String |
getUserId()
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 |
setGroup(String group)
The specific group that is to be added or removed from a volume's list
of create volume permissions.
|
void |
setUserId(String userId)
The specific AWS account ID that is to be added or removed from a
volume's list of create volume permissions.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateVolumePermission |
withGroup(PermissionGroup group)
The specific group that is to be added or removed from a volume's list
of create volume permissions.
|
CreateVolumePermission |
withGroup(String group)
The specific group that is to be added or removed from a volume's list
of create volume permissions.
|
CreateVolumePermission |
withUserId(String userId)
The specific AWS account ID that is to be added or removed from a
volume's list of create volume permissions.
|
public String getUserId()
public void setUserId(String userId)
userId
- The specific AWS account ID that is to be added or removed from a
volume's list of create volume permissions.public CreateVolumePermission withUserId(String userId)
Returns a reference to this object so that method calls can be chained together.
userId
- The specific AWS account ID that is to be added or removed from a
volume's list of create volume permissions.public String getGroup()
Constraints:
Allowed Values: all
PermissionGroup
public void setGroup(String group)
Constraints:
Allowed Values: all
group
- The specific group that is to be added or removed from a volume's list
of create volume permissions.PermissionGroup
public CreateVolumePermission withGroup(String group)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: all
group
- The specific group that is to be added or removed from a volume's list
of create volume permissions.PermissionGroup
public void setGroup(PermissionGroup group)
Constraints:
Allowed Values: all
group
- The specific group that is to be added or removed from a volume's list
of create volume permissions.PermissionGroup
public CreateVolumePermission withGroup(PermissionGroup group)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: all
group
- The specific group that is to be added or removed from a volume's list
of create volume permissions.PermissionGroup
public String toString()
toString
in class Object
Object.toString()
Copyright © 2015. All rights reserved.