@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateEnvironmentMembershipRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateEnvironmentMembershipRequest() |
Modifier and Type | Method and Description |
---|---|
CreateEnvironmentMembershipRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getEnvironmentId()
The ID of the environment that contains the environment member you want to add.
|
String |
getPermissions()
The type of environment member permissions you want to associate with this environment member.
|
String |
getUserArn()
The Amazon Resource Name (ARN) of the environment member you want to add.
|
int |
hashCode() |
void |
setEnvironmentId(String environmentId)
The ID of the environment that contains the environment member you want to add.
|
void |
setPermissions(String permissions)
The type of environment member permissions you want to associate with this environment member.
|
void |
setUserArn(String userArn)
The Amazon Resource Name (ARN) of the environment member you want to add.
|
String |
toString()
Returns a string representation of this object.
|
CreateEnvironmentMembershipRequest |
withEnvironmentId(String environmentId)
The ID of the environment that contains the environment member you want to add.
|
CreateEnvironmentMembershipRequest |
withPermissions(MemberPermissions permissions)
The type of environment member permissions you want to associate with this environment member.
|
CreateEnvironmentMembershipRequest |
withPermissions(String permissions)
The type of environment member permissions you want to associate with this environment member.
|
CreateEnvironmentMembershipRequest |
withUserArn(String userArn)
The Amazon Resource Name (ARN) of the environment member you want to add.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setEnvironmentId(String environmentId)
The ID of the environment that contains the environment member you want to add.
environmentId
- The ID of the environment that contains the environment member you want to add.public String getEnvironmentId()
The ID of the environment that contains the environment member you want to add.
public CreateEnvironmentMembershipRequest withEnvironmentId(String environmentId)
The ID of the environment that contains the environment member you want to add.
environmentId
- The ID of the environment that contains the environment member you want to add.public void setUserArn(String userArn)
The Amazon Resource Name (ARN) of the environment member you want to add.
userArn
- The Amazon Resource Name (ARN) of the environment member you want to add.public String getUserArn()
The Amazon Resource Name (ARN) of the environment member you want to add.
public CreateEnvironmentMembershipRequest withUserArn(String userArn)
The Amazon Resource Name (ARN) of the environment member you want to add.
userArn
- The Amazon Resource Name (ARN) of the environment member you want to add.public void setPermissions(String permissions)
The type of environment member permissions you want to associate with this environment member. Available values include:
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 you want to associate with this environment member. Available
values include:
read-only
: Has read-only access to the environment.
read-write
: Has read-write access to the environment.
MemberPermissions
public String getPermissions()
The type of environment member permissions you want to associate with this environment member. Available values include:
read-only
: Has read-only access to the environment.
read-write
: Has read-write access to the environment.
read-only
: Has read-only access to the environment.
read-write
: Has read-write access to the environment.
MemberPermissions
public CreateEnvironmentMembershipRequest withPermissions(String permissions)
The type of environment member permissions you want to associate with this environment member. Available values include:
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 you want to associate with this environment member. Available
values include:
read-only
: Has read-only access to the environment.
read-write
: Has read-write access to the environment.
MemberPermissions
public CreateEnvironmentMembershipRequest withPermissions(MemberPermissions permissions)
The type of environment member permissions you want to associate with this environment member. Available values include:
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 you want to associate with this environment member. Available
values include:
read-only
: Has read-only access to the environment.
read-write
: Has read-write access to the environment.
MemberPermissions
public String toString()
toString
in class Object
Object.toString()
public CreateEnvironmentMembershipRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()