Interface ListResourceDelegatesResponse.Builder
- All Superinterfaces:
 AwsResponse.Builder,Buildable,CopyableBuilder<ListResourceDelegatesResponse.Builder,,ListResourceDelegatesResponse> SdkBuilder<ListResourceDelegatesResponse.Builder,,ListResourceDelegatesResponse> SdkPojo,SdkResponse.Builder,WorkMailResponse.Builder
- Enclosing class:
 ListResourceDelegatesResponse
public static interface ListResourceDelegatesResponse.Builder
extends WorkMailResponse.Builder, SdkPojo, CopyableBuilder<ListResourceDelegatesResponse.Builder,ListResourceDelegatesResponse> 
- 
Method Summary
Modifier and TypeMethodDescriptiondelegates(Collection<Delegate> delegates) One page of the resource's delegates.delegates(Consumer<Delegate.Builder>... delegates) One page of the resource's delegates.One page of the resource's delegates.The token used to paginate through the delegates associated with a resource.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.workmail.model.WorkMailResponse.Builder
build, responseMetadata, responseMetadata 
- 
Method Details
- 
delegates
One page of the resource's delegates.
- Parameters:
 delegates- One page of the resource's delegates.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
delegates
One page of the resource's delegates.
- Parameters:
 delegates- One page of the resource's delegates.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
delegates
One page of the resource's delegates.
This is a convenience method that creates an instance of theDelegate.Builderavoiding the need to create one manually viaDelegate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todelegates(List<Delegate>).- Parameters:
 delegates- a consumer that will call methods onDelegate.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
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.
- Parameters:
 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.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 
 -