@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EnvironmentMember extends Object implements Serializable, Cloneable, StructuredPojo
Information about an environment member for an Cloud9 development environment.
Constructor and Description |
---|
EnvironmentMember() |
Modifier and Type | Method and Description |
---|---|
EnvironmentMember |
clone() |
boolean |
equals(Object obj) |
String |
getEnvironmentId()
The ID of the environment for the environment member.
|
Date |
getLastAccess()
The time, expressed in epoch time format, when the environment member last opened the environment.
|
String |
getPermissions()
The type of environment member permissions associated with this environment member.
|
String |
getUserArn()
The Amazon Resource Name (ARN) of the environment member.
|
String |
getUserId()
The user ID in Identity and Access Management (IAM) of the environment member.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEnvironmentId(String environmentId)
The ID of the environment for the environment member.
|
void |
setLastAccess(Date lastAccess)
The time, expressed in epoch time format, when the environment member last opened the environment.
|
void |
setPermissions(String permissions)
The type of environment member permissions associated with this environment member.
|
void |
setUserArn(String userArn)
The Amazon Resource Name (ARN) of the environment member.
|
void |
setUserId(String userId)
The user ID in Identity and Access Management (IAM) of the environment member.
|
String |
toString()
Returns a string representation of this object.
|
EnvironmentMember |
withEnvironmentId(String environmentId)
The ID of the environment for the environment member.
|
EnvironmentMember |
withLastAccess(Date lastAccess)
The time, expressed in epoch time format, when the environment member last opened the environment.
|
EnvironmentMember |
withPermissions(Permissions permissions)
The type of environment member permissions associated with this environment member.
|
EnvironmentMember |
withPermissions(String permissions)
The type of environment member permissions associated with this environment member.
|
EnvironmentMember |
withUserArn(String userArn)
The Amazon Resource Name (ARN) of the environment member.
|
EnvironmentMember |
withUserId(String userId)
The user ID in Identity and Access Management (IAM) of the environment member.
|
public void setPermissions(String 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.
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.
Permissions
public String getPermissions()
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.
owner
: Owns the environment.
read-only
: Has read-only access to the environment.
read-write
: Has read-write access to the environment.
Permissions
public EnvironmentMember withPermissions(String 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.
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.
Permissions
public EnvironmentMember withPermissions(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.
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.
Permissions
public void setUserId(String userId)
The user ID in Identity and Access Management (IAM) of the environment member.
userId
- The user ID in Identity and Access Management (IAM) of the environment member.public String getUserId()
The user ID in Identity and Access Management (IAM) of the environment member.
public EnvironmentMember withUserId(String userId)
The user ID in Identity and Access Management (IAM) of the environment member.
userId
- The user ID in Identity and Access Management (IAM) of the environment member.public void setUserArn(String userArn)
The Amazon Resource Name (ARN) of the environment member.
userArn
- The Amazon Resource Name (ARN) of the environment member.public String getUserArn()
The Amazon Resource Name (ARN) of the environment member.
public EnvironmentMember withUserArn(String userArn)
The Amazon Resource Name (ARN) of the environment member.
userArn
- The Amazon Resource Name (ARN) of the environment member.public void setEnvironmentId(String environmentId)
The ID of the environment for the environment member.
environmentId
- The ID of the environment for the environment member.public String getEnvironmentId()
The ID of the environment for the environment member.
public EnvironmentMember withEnvironmentId(String environmentId)
The ID of the environment for the environment member.
environmentId
- The ID of the environment for the environment member.public void setLastAccess(Date lastAccess)
The time, expressed in epoch time format, when the environment member last opened the environment.
lastAccess
- The time, expressed in epoch time format, when the environment member last opened the environment.public Date getLastAccess()
The time, expressed in epoch time format, when the environment member last opened the environment.
public EnvironmentMember withLastAccess(Date lastAccess)
The time, expressed in epoch time format, when the environment member last opened the environment.
lastAccess
- The time, expressed in epoch time format, when the environment member last opened the environment.public String toString()
toString
in class Object
Object.toString()
public EnvironmentMember clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.