public class LaunchPermission
extends java.lang.Object
implements java.io.Serializable
Describes a launch permission.
Constructor and Description |
---|
LaunchPermission() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getGroup()
The name of the group.
|
java.lang.String |
getUserId()
The AWS account ID.
|
int |
hashCode() |
void |
setGroup(PermissionGroup group)
The name of the group.
|
void |
setGroup(java.lang.String group)
The name of the group.
|
void |
setUserId(java.lang.String userId)
The AWS account ID.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
LaunchPermission |
withGroup(PermissionGroup group)
The name of the group.
|
LaunchPermission |
withGroup(java.lang.String group)
The name of the group.
|
LaunchPermission |
withUserId(java.lang.String userId)
The AWS account ID.
|
public java.lang.String getUserId()
public void setUserId(java.lang.String userId)
userId
- The AWS account ID.public LaunchPermission withUserId(java.lang.String userId)
Returns a reference to this object so that method calls can be chained together.
userId
- The AWS account ID.public java.lang.String getGroup()
Constraints:
Allowed Values: all
PermissionGroup
public void setGroup(java.lang.String group)
Constraints:
Allowed Values: all
group
- The name of the group.PermissionGroup
public LaunchPermission withGroup(java.lang.String group)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: all
group
- The name of the group.PermissionGroup
public void setGroup(PermissionGroup group)
Constraints:
Allowed Values: all
group
- The name of the group.PermissionGroup
public LaunchPermission withGroup(PermissionGroup group)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: all
group
- The name of the group.PermissionGroup
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
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.