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 theGetDelegationsAPI returned.delegations(Consumer<DelegationMetadata.Builder>... delegations) The list of delegations that theGetDelegationsAPI returned.delegations(DelegationMetadata... delegations) The list of delegations that theGetDelegationsAPI 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, responseMetadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
delegations
The list of delegations that the
GetDelegationsAPI returned.- Parameters:
delegations- The list of delegations that theGetDelegationsAPI returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
delegations
The list of delegations that the
GetDelegationsAPI returned.- Parameters:
delegations- The list of delegations that theGetDelegationsAPI 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 theGetDelegationsAPI returned.DelegationMetadata.Builderavoiding the need to create one manually viaDelegationMetadata.builder().When the
Consumercompletes,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.
-