|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.ec2.model.CreateVolumePermission
public class CreateVolumePermission
Constructor Summary | |
---|---|
CreateVolumePermission()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CreateVolumePermission()
Method Detail |
---|
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()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |