@Generated(value="software.amazon.awssdk:codegen") public final class GetResourcesRequest extends WorkDocsRequest implements ToCopyableBuilder<GetResourcesRequest.Builder,GetResourcesRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
GetResourcesRequest.Builder |
Modifier and Type | Method and Description |
---|---|
String |
authenticationToken()
The Amazon WorkDocs authentication token.
|
static GetResourcesRequest.Builder |
builder() |
ResourceCollectionType |
collectionType()
The collection type.
|
String |
collectionTypeAsString()
The collection type.
|
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 |
limit()
The maximum number of resources to return.
|
String |
marker()
The marker for the next set of results.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetResourcesRequest.Builder> |
serializableBuilderClass() |
GetResourcesRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
userId()
The user ID for the resource collection.
|
overrideConfiguration
copy
public String authenticationToken()
The Amazon WorkDocs authentication token. Do not set this field when using administrative API actions, as in accessing the API operation using AWS credentials.
public String userId()
The user ID for the resource collection. This is a required field for accessing the API operation using IAM credentials.
public ResourceCollectionType collectionType()
The collection type.
If the service returns an enum value that is not available in the current SDK version, collectionType
will return ResourceCollectionType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from collectionTypeAsString()
.
ResourceCollectionType
public String collectionTypeAsString()
The collection type.
If the service returns an enum value that is not available in the current SDK version, collectionType
will return ResourceCollectionType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from collectionTypeAsString()
.
ResourceCollectionType
public Integer limit()
The maximum number of resources to return.
public String marker()
The marker for the next set of results. This marker was received from a previous call.
public GetResourcesRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<GetResourcesRequest.Builder,GetResourcesRequest>
toBuilder
in class WorkDocsRequest
public static GetResourcesRequest.Builder builder()
public static Class<? extends GetResourcesRequest.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.