Interface ListDelegationRequestsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListDelegationRequestsResponse.Builder,,ListDelegationRequestsResponse> IamResponse.Builder,SdkBuilder<ListDelegationRequestsResponse.Builder,,ListDelegationRequestsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListDelegationRequestsResponse
@Mutable
@NotThreadSafe
public static interface ListDelegationRequestsResponse.Builder
extends IamResponse.Builder, SdkPojo, CopyableBuilder<ListDelegationRequestsResponse.Builder,ListDelegationRequestsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondelegationRequests(Collection<DelegationRequest> delegationRequests) A list of delegation requests that match the specified criteria.delegationRequests(Consumer<DelegationRequest.Builder>... delegationRequests) A list of delegation requests that match the specified criteria.delegationRequests(DelegationRequest... delegationRequests) A list of delegation requests that match the specified criteria.isTruncated(Boolean isTruncated) A flag that indicates whether there are more items to return.WhenisTruncatedistrue, this element is present and contains the value to use for theMarkerparameter in a subsequent pagination request.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iam.model.IamResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
delegationRequests
ListDelegationRequestsResponse.Builder delegationRequests(Collection<DelegationRequest> delegationRequests) A list of delegation requests that match the specified criteria.
- Parameters:
delegationRequests- A list of delegation requests that match the specified criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
delegationRequests
A list of delegation requests that match the specified criteria.
- Parameters:
delegationRequests- A list of delegation requests that match the specified criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
delegationRequests
ListDelegationRequestsResponse.Builder delegationRequests(Consumer<DelegationRequest.Builder>... delegationRequests) A list of delegation requests that match the specified criteria.
This is a convenience method that creates an instance of theDelegationRequest.Builderavoiding the need to create one manually viaDelegationRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todelegationRequests(List<DelegationRequest>).- Parameters:
delegationRequests- a consumer that will call methods onDelegationRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
marker
When
isTruncatedistrue, this element is present and contains the value to use for theMarkerparameter in a subsequent pagination request.- Parameters:
marker- WhenisTruncatedistrue, this element is present and contains the value to use for theMarkerparameter in a subsequent pagination request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isTruncated
A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the
Markerrequest parameter to retrieve more items.- Parameters:
isTruncated- A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using theMarkerrequest parameter to retrieve more items.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-