|
Did this page help you?Yes No Tell us about it... |
||||||
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 | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getGroup()
The group that is allowed to create volumes from the snapshot (currently supports "all"). |
java.lang.String |
getUserId()
The user ID of the user that can create volumes from the snapshot. |
int |
hashCode()
|
void |
setGroup(java.lang.String group)
The group that is allowed to create volumes from the snapshot (currently supports "all"). |
void |
setUserId(java.lang.String userId)
The user ID of the user that can create volumes from the snapshot. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
CreateVolumePermission |
withGroup(java.lang.String group)
The group that is allowed to create volumes from the snapshot (currently supports "all"). |
CreateVolumePermission |
withUserId(java.lang.String userId)
The user ID of the user that can create volumes from the snapshot. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CreateVolumePermission()
Method Detail |
---|
public java.lang.String getUserId()
public void setUserId(java.lang.String userId)
userId
- The user ID of the user that can create volumes from the snapshot.public CreateVolumePermission withUserId(java.lang.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 java.lang.String getGroup()
public void setGroup(java.lang.String group)
group
- The group that is allowed to create volumes from the snapshot
(currently supports "all").public CreateVolumePermission withGroup(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |