@Generated(value="software.amazon.awssdk:codegen") public class EnvironmentMember extends Object implements StructuredPojo, ToCopyableBuilder<EnvironmentMember.Builder,EnvironmentMember>
Information about an environment member for an AWS Cloud9 development environment.
Modifier and Type | Class and Description |
---|---|
static interface |
EnvironmentMember.Builder |
Modifier and Type | Method and Description |
---|---|
static EnvironmentMember.Builder |
builder() |
String |
environmentId()
The ID of the environment for the environment member.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastAccess()
The time, expressed in epoch time format, when the environment member last opened the environment.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
Permissions |
permissions()
The type of environment member permissions associated with this environment member.
|
String |
permissionsString()
The type of environment member permissions associated with this environment member.
|
static Class<? extends EnvironmentMember.Builder> |
serializableBuilderClass() |
EnvironmentMember.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
userArn()
The Amazon Resource Name (ARN) of the environment member.
|
String |
userId()
The user ID in AWS Identity and Access Management (AWS IAM) of the environment member.
|
copy
public Permissions permissions()
The type of environment member permissions associated with this environment member. Available values include:
owner
: Owns the environment.
read-only
: Has read-only access to the environment.
read-write
: Has read-write access to the environment.
If the service returns an enum value that is not available in the current SDK version, permissions
will
return Permissions.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
permissionsString()
.
owner
: Owns the environment.
read-only
: Has read-only access to the environment.
read-write
: Has read-write access to the environment.
Permissions
public String permissionsString()
The type of environment member permissions associated with this environment member. Available values include:
owner
: Owns the environment.
read-only
: Has read-only access to the environment.
read-write
: Has read-write access to the environment.
If the service returns an enum value that is not available in the current SDK version, permissions
will
return Permissions.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
permissionsString()
.
owner
: Owns the environment.
read-only
: Has read-only access to the environment.
read-write
: Has read-write access to the environment.
Permissions
public String userId()
The user ID in AWS Identity and Access Management (AWS IAM) of the environment member.
public String userArn()
The Amazon Resource Name (ARN) of the environment member.
public String environmentId()
The ID of the environment for the environment member.
public Instant lastAccess()
The time, expressed in epoch time format, when the environment member last opened the environment.
public EnvironmentMember.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<EnvironmentMember.Builder,EnvironmentMember>
public static EnvironmentMember.Builder builder()
public static Class<? extends EnvironmentMember.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.