Interface GetDelegationsResponse.Builder
- All Superinterfaces:
AuditManagerResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<GetDelegationsResponse.Builder,
,GetDelegationsResponse> SdkBuilder<GetDelegationsResponse.Builder,
,GetDelegationsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetDelegationsResponse
public static interface GetDelegationsResponse.Builder
extends AuditManagerResponse.Builder, SdkPojo, CopyableBuilder<GetDelegationsResponse.Builder,GetDelegationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondelegations
(Collection<DelegationMetadata> delegations) The list of delegations that theGetDelegations
API returned.delegations
(Consumer<DelegationMetadata.Builder>... delegations) The list of delegations that theGetDelegations
API returned.delegations
(DelegationMetadata... delegations) The list of delegations that theGetDelegations
API returned.The pagination token that's used to fetch the next set of results.Methods inherited from interface software.amazon.awssdk.services.auditmanager.model.AuditManagerResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
delegations
The list of delegations that the
GetDelegations
API returned.- Parameters:
delegations
- The list of delegations that theGetDelegations
API returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
delegations
The list of delegations that the
GetDelegations
API returned.- Parameters:
delegations
- The list of delegations that theGetDelegations
API returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
delegations
The list of delegations that the
This is a convenience method that creates an instance of theGetDelegations
API returned.DelegationMetadata.Builder
avoiding the need to create one manually viaDelegationMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todelegations(List<DelegationMetadata>)
.- Parameters:
delegations
- a consumer that will call methods onDelegationMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The pagination token that's used to fetch the next set of results.
- Parameters:
nextToken
- The pagination token that's used to fetch the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-