@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateVolumePermission extends Object implements Serializable, Cloneable
Describes the user or group to be added or removed from the permissions for a volume.
Constructor and Description |
---|
CreateVolumePermission() |
Modifier and Type | Method and Description |
---|---|
CreateVolumePermission |
clone() |
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 void setGroup(String group)
The specific group that is to be added or removed from a volume's list of create volume permissions.
group
- The specific group that is to be added or removed from a volume's list of create volume permissions.PermissionGroup
public String getGroup()
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)
The specific group that is to be added or removed from a volume's list of create volume permissions.
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)
The specific group that is to be added or removed from a volume's list of create volume permissions.
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)
The specific group that is to be added or removed from a volume's list of create volume permissions.
group
- The specific group that is to be added or removed from a volume's list of create volume permissions.PermissionGroup
public 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.
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()
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)
The specific AWS account ID that is to be added or removed from a volume's list of create volume permissions.
userId
- The specific AWS account ID that is to be added or removed from a volume's list of create volume
permissions.public String toString()
toString
in class Object
Object.toString()
public CreateVolumePermission clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.