public class LaunchPermission extends Object implements Serializable
Describes a permission to launch an Amazon Machine Image (AMI).
Constructor and Description |
---|
LaunchPermission() |
Modifier and Type | Method and Description |
---|---|
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(PermissionGroup group)
The AWS group of the user involved in this launch permission.
|
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(PermissionGroup group)
The AWS group of the user involved in this launch permission.
|
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.
|
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
Constraints:
Allowed Values: all
Available groups: all
PermissionGroup
public void setGroup(String group)
Available groups: all
Constraints:
Allowed Values: all
group
- The AWS group of the user involved in this launch permission.
Available groups: all
PermissionGroup
public LaunchPermission withGroup(String group)
Available groups: all
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: all
group
- The AWS group of the user involved in this launch permission.
Available groups: all
PermissionGroup
public void setGroup(PermissionGroup group)
Available groups: all
Constraints:
Allowed Values: all
group
- The AWS group of the user involved in this launch permission.
Available groups: all
PermissionGroup
public LaunchPermission withGroup(PermissionGroup group)
Available groups: all
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: all
group
- The AWS group of the user involved in this launch permission.
Available groups: all
PermissionGroup
public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.