|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.ec2.model.LaunchPermission
public class LaunchPermission
Describes a permission to launch an Amazon Machine Image (AMI).
Constructor Summary | |
---|---|
LaunchPermission()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getGroup()
The AWS group of the user involved in this launch permission. |
String |
getUserId()
The AWS user ID of the user involved in this launch permission. |
int |
hashCode()
|
void |
setGroup(String group)
The AWS group of the user involved in this launch permission. |
void |
setUserId(String userId)
The AWS user ID of the user involved in this launch permission. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
LaunchPermission |
withGroup(String group)
The AWS group of the user involved in this launch permission. |
LaunchPermission |
withUserId(String userId)
The AWS user ID of the user involved in this launch permission. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LaunchPermission()
Method Detail |
---|
public String getUserId()
public void setUserId(String userId)
userId
- The AWS user ID of the user involved in this launch permission.public LaunchPermission withUserId(String userId)
Returns a reference to this object so that method calls can be chained together.
userId
- The AWS user ID of the user involved in this launch permission.
public String getGroup()
Available groups: all
Available groups: all
public void setGroup(String group)
Available groups: all
group
- The AWS group of the user involved in this launch permission.
Available groups: all
public LaunchPermission withGroup(String group)
Available groups: all
Returns a reference to this object so that method calls can be chained together.
group
- The AWS group of the user involved in this launch permission.
Available groups: all
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 |