public static interface ListImpersonationRolesResponse.Builder extends WorkMailResponse.Builder, SdkPojo, CopyableBuilder<ListImpersonationRolesResponse.Builder,ListImpersonationRolesResponse>
| Modifier and Type | Method and Description |
|---|---|
ListImpersonationRolesResponse.Builder |
nextToken(String nextToken)
The token to retrieve the next page of results.
|
ListImpersonationRolesResponse.Builder |
roles(Collection<ImpersonationRole> roles)
The list of impersonation roles under the given WorkMail organization.
|
ListImpersonationRolesResponse.Builder |
roles(Consumer<ImpersonationRole.Builder>... roles)
The list of impersonation roles under the given WorkMail organization.
|
ListImpersonationRolesResponse.Builder |
roles(ImpersonationRole... roles)
The list of impersonation roles under the given WorkMail organization.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListImpersonationRolesResponse.Builder roles(Collection<ImpersonationRole> roles)
The list of impersonation roles under the given WorkMail organization.
roles - The list of impersonation roles under the given WorkMail organization.ListImpersonationRolesResponse.Builder roles(ImpersonationRole... roles)
The list of impersonation roles under the given WorkMail organization.
roles - The list of impersonation roles under the given WorkMail organization.ListImpersonationRolesResponse.Builder roles(Consumer<ImpersonationRole.Builder>... roles)
The list of impersonation roles under the given WorkMail organization.
This is a convenience method that creates an instance of theImpersonationRole.Builder avoiding the need to create
one manually via ImpersonationRole.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #roles(List.
roles - a consumer that will call methods on
ImpersonationRole.Builder#roles(java.util.Collection) ListImpersonationRolesResponse.Builder nextToken(String nextToken)
The token to retrieve the next page of results. The value is null when there are no results to
return.
nextToken - The token to retrieve the next page of results. The value is null when there are no
results to return.Copyright © 2023. All rights reserved.