StructuredPojo
, ToCopyableBuilder<Permission.Builder,Permission>
@Generated("software.amazon.awssdk:codegen") public class Permission extends Object implements StructuredPojo, ToCopyableBuilder<Permission.Builder,Permission>
Describes stack or user permissions.
Modifier and Type | Class | Description |
---|---|---|
static interface |
Permission.Builder |
Modifier and Type | Method | Description |
---|---|---|
Boolean |
allowSsh() |
Whether the user can use SSH.
|
Boolean |
allowSudo() |
Whether the user can use sudo.
|
static Permission.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
String |
iamUserArn() |
The Amazon Resource Name (ARN) for an AWS Identity and Access Management (IAM) role.
|
String |
level() |
The user's permission level, which must be the following:
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends Permission.Builder> |
serializableBuilderClass() |
|
String |
stackId() |
A stack ID.
|
Permission.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
public String stackId()
A stack ID.
public String iamUserArn()
The Amazon Resource Name (ARN) for an AWS Identity and Access Management (IAM) role. For more information about IAM ARNs, see Using Identifiers.
public Boolean allowSsh()
Whether the user can use SSH.
public Boolean allowSudo()
Whether the user can use sudo.
public String level()
The user's permission level, which must be the following:
deny
show
deploy
manage
iam_only
For more information on the permissions associated with these levels, see Managing User Permissions
deny
show
deploy
manage
iam_only
For more information on the permissions associated with these levels, see Managing User Permissions
public Permission.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Permission.Builder,Permission>
public static Permission.Builder builder()
public static Class<? extends Permission.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.