public static interface ListResourceDelegatesResponse.Builder extends WorkMailResponse.Builder, SdkPojo, CopyableBuilder<ListResourceDelegatesResponse.Builder,ListResourceDelegatesResponse>
Modifier and Type | Method and Description |
---|---|
ListResourceDelegatesResponse.Builder |
delegates(Collection<Delegate> delegates)
One page of the resource's delegates.
|
ListResourceDelegatesResponse.Builder |
delegates(Consumer<Delegate.Builder>... delegates)
One page of the resource's delegates.
|
ListResourceDelegatesResponse.Builder |
delegates(Delegate... delegates)
One page of the resource's delegates.
|
ListResourceDelegatesResponse.Builder |
nextToken(String nextToken)
The token used to paginate through the delegates associated with a resource.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
ListResourceDelegatesResponse.Builder delegates(Collection<Delegate> delegates)
One page of the resource's delegates.
delegates
- One page of the resource's delegates.ListResourceDelegatesResponse.Builder delegates(Delegate... delegates)
One page of the resource's delegates.
delegates
- One page of the resource's delegates.ListResourceDelegatesResponse.Builder delegates(Consumer<Delegate.Builder>... delegates)
One page of the resource's delegates.
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 #delegates(List)
.delegates
- a consumer that will call methods on List.Builder
#delegates(List)
ListResourceDelegatesResponse.Builder nextToken(String nextToken)
The token used to paginate through the delegates associated with a resource. 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 the delegates associated with a resource. 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.