@Generated(value="software.amazon.awssdk:codegen") public final class DescribeEnvironmentMembershipsRequest extends Cloud9Request implements ToCopyableBuilder<DescribeEnvironmentMembershipsRequest.Builder,DescribeEnvironmentMembershipsRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
DescribeEnvironmentMembershipsRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static DescribeEnvironmentMembershipsRequest.Builder |
builder() |
String |
environmentId()
The ID of the environment to get environment member information about.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
Integer |
maxResults()
The maximum number of environment members to get information about.
|
String |
nextToken()
During a previous call, if there are more than 25 items in the list, only the first 25 items are returned, along
with a unique string called a next token.
|
List<Permissions> |
permissions()
The type of environment member permissions to get information about.
|
List<String> |
permissionsAsStrings()
The type of environment member permissions to get information about.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeEnvironmentMembershipsRequest.Builder> |
serializableBuilderClass() |
DescribeEnvironmentMembershipsRequest.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 an individual environment member to get information about.
|
overrideConfiguration
copy
public String userArn()
The Amazon Resource Name (ARN) of an individual environment member to get information about. If no value is specified, information about all environment members are returned.
public String environmentId()
The ID of the environment to get environment member information about.
public List<Permissions> permissions()
The type of environment member permissions to get information about. 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 no value is specified, information about all environment members are returned.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
owner
: Owns the environment.
read-only
: Has read-only access to the environment.
read-write
: Has read-write access to the environment.
If no value is specified, information about all environment members are returned.
public List<String> permissionsAsStrings()
The type of environment member permissions to get information about. 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 no value is specified, information about all environment members are returned.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
owner
: Owns the environment.
read-only
: Has read-only access to the environment.
read-write
: Has read-write access to the environment.
If no value is specified, information about all environment members are returned.
public String nextToken()
During a previous call, if there are more than 25 items in the list, only the first 25 items are returned, along with a unique string called a next token. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned.
public Integer maxResults()
The maximum number of environment members to get information about.
public DescribeEnvironmentMembershipsRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DescribeEnvironmentMembershipsRequest.Builder,DescribeEnvironmentMembershipsRequest>
toBuilder
in class Cloud9Request
public static DescribeEnvironmentMembershipsRequest.Builder builder()
public static Class<? extends DescribeEnvironmentMembershipsRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.