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.
DelegationMetadata.Builder avoiding the need to
create one manually via
DelegationMetadata.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #delegations(List.
delegations - a consumer that will call methods on
DelegationMetadata.Builder#delegations(java.util.Collection) 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 © 2023. All rights reserved.