public static interface GetDelegationsResponse.Builder extends AuditManagerResponse.Builder, SdkPojo, CopyableBuilder<GetDelegationsResponse.Builder,GetDelegationsResponse>
| Modifier and Type | Method and Description |
|---|---|
GetDelegationsResponse.Builder |
delegations(Collection<DelegationMetadata> delegations)
The list of delegations that the
GetDelegations API returned. |
GetDelegationsResponse.Builder |
delegations(Consumer<DelegationMetadata.Builder>... delegations)
The list of delegations that the
GetDelegations API returned. |
GetDelegationsResponse.Builder |
delegations(DelegationMetadata... delegations)
The list of delegations that the
GetDelegations API returned. |
GetDelegationsResponse.Builder |
nextToken(String nextToken)
The pagination token that's used to fetch the next set of results.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetDelegationsResponse.Builder delegations(Collection<DelegationMetadata> delegations)
The list of delegations that the GetDelegations API returned.
delegations - The list of delegations that the GetDelegations API returned.GetDelegationsResponse.Builder delegations(DelegationMetadata... delegations)
The list of delegations that the GetDelegations API returned.
delegations - The list of delegations that the GetDelegations API returned.GetDelegationsResponse.Builder delegations(Consumer<DelegationMetadata.Builder>... delegations)
The list of delegations that the GetDelegations API returned.
List.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 #delegations(List) .delegations - a consumer that will call methods on List.Builder #delegations(List) GetDelegationsResponse.Builder nextToken(String nextToken)
The pagination token that's used to fetch the next set of results.
nextToken - The pagination token that's used to fetch the next set of results.Copyright © 2022. All rights reserved.