Class EnvironmentMember
- java.lang.Object
-
- software.amazon.awssdk.services.cloud9.model.EnvironmentMember
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EnvironmentMember.Builder,EnvironmentMember>
@Generated("software.amazon.awssdk:codegen") public final class EnvironmentMember extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EnvironmentMember.Builder,EnvironmentMember>
Information about an environment member for an Cloud9 development environment.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEnvironmentMember.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EnvironmentMember.Builderbuilder()StringenvironmentId()The ID of the environment for the environment member.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastAccess()The time, expressed in epoch time format, when the environment member last opened the environment.Permissionspermissions()The type of environment member permissions associated with this environment member.StringpermissionsAsString()The type of environment member permissions associated with this environment member.List<SdkField<?>>sdkFields()static Class<? extends EnvironmentMember.Builder>serializableBuilderClass()EnvironmentMember.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringuserArn()The Amazon Resource Name (ARN) of the environment member.StringuserId()The user ID in Identity and Access Management (IAM) of the environment member.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
permissions
public final 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,
permissionswill returnPermissions.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompermissionsAsString().- Returns:
- 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.
-
- See Also:
Permissions
-
-
permissionsAsString
public final String permissionsAsString()
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,
permissionswill returnPermissions.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompermissionsAsString().- Returns:
- 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.
-
- See Also:
Permissions
-
-
userId
public final String userId()
The user ID in Identity and Access Management (IAM) of the environment member.
- Returns:
- The user ID in Identity and Access Management (IAM) of the environment member.
-
userArn
public final String userArn()
The Amazon Resource Name (ARN) of the environment member.
- Returns:
- The Amazon Resource Name (ARN) of the environment member.
-
environmentId
public final String environmentId()
The ID of the environment for the environment member.
- Returns:
- The ID of the environment for the environment member.
-
lastAccess
public final Instant lastAccess()
The time, expressed in epoch time format, when the environment member last opened the environment.
- Returns:
- The time, expressed in epoch time format, when the environment member last opened the environment.
-
toBuilder
public EnvironmentMember.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EnvironmentMember.Builder,EnvironmentMember>
-
builder
public static EnvironmentMember.Builder builder()
-
serializableBuilderClass
public static Class<? extends EnvironmentMember.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-