|
|||||||
| 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
Describes a permission allowing either a user or group to create a new EBS volume from a snapshot.
| Constructor Summary | |
|---|---|
CreateVolumePermission()
|
|
| Method Summary | |
|---|---|
String |
getGroup()
The group that is allowed to create volumes from the snapshot (currently supports "all"). |
String |
getUserId()
The user ID of the user that can create volumes from the snapshot. |
void |
setGroup(String group)
The group that is allowed to create volumes from the snapshot (currently supports "all"). |
void |
setUserId(String userId)
The user ID of the user that can create volumes from the snapshot. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
CreateVolumePermission |
withGroup(String group)
The group that is allowed to create volumes from the snapshot (currently supports "all"). |
CreateVolumePermission |
withUserId(String userId)
The user ID of the user that can create volumes from the snapshot. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CreateVolumePermission()
| Method Detail |
|---|
public String getUserId()
public void setUserId(String userId)
userId - The user ID of the user that can create volumes from the snapshot.public CreateVolumePermission withUserId(String userId)
Returns a reference to this object so that method calls can be chained together.
userId - The user ID of the user that can create volumes from the snapshot.
public String getGroup()
public void setGroup(String group)
group - The group that is allowed to create volumes from the snapshot
(currently supports "all").public CreateVolumePermission withGroup(String group)
Returns a reference to this object so that method calls can be chained together.
group - The group that is allowed to create volumes from the snapshot
(currently supports "all").
public String toString()
toString in class ObjectObject.toString()
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||