public static interface ListResourcesResponse.Builder extends WorkMailResponse.Builder, CopyableBuilder<ListResourcesResponse.Builder,ListResourcesResponse>
Modifier and Type | Method and Description |
---|---|
ListResourcesResponse.Builder |
nextToken(String nextToken)
The token used to paginate through all the organization's resources.
|
ListResourcesResponse.Builder |
resources(Collection<Resource> resources)
One page of the organization's resource representation.
|
ListResourcesResponse.Builder |
resources(Consumer<Resource.Builder>... resources)
One page of the organization's resource representation.
|
ListResourcesResponse.Builder |
resources(Resource... resources)
One page of the organization's resource representation.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
ListResourcesResponse.Builder resources(Collection<Resource> resources)
One page of the organization's resource representation.
resources
- One page of the organization's resource representation.ListResourcesResponse.Builder resources(Resource... resources)
One page of the organization's resource representation.
resources
- One page of the organization's resource representation.ListResourcesResponse.Builder resources(Consumer<Resource.Builder>... resources)
One page of the organization's resource representation.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #resources(List)
.resources
- a consumer that will call methods on List.Builder
#resources(List)
ListResourcesResponse.Builder nextToken(String nextToken)
The token used to paginate through all the organization's resources. While results are still available, it has an associated value. When the last page is reached, the token is empty.
nextToken
- The token used to paginate through all the organization's resources. While results are still
available, it has an associated value. When the last page is reached, the token is empty.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.