Interface ListAccountAssignmentsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListAccountAssignmentsResponse.Builder,
,ListAccountAssignmentsResponse> SdkBuilder<ListAccountAssignmentsResponse.Builder,
,ListAccountAssignmentsResponse> SdkPojo
,SdkResponse.Builder
,SsoAdminResponse.Builder
- Enclosing class:
ListAccountAssignmentsResponse
public static interface ListAccountAssignmentsResponse.Builder
extends SsoAdminResponse.Builder, SdkPojo, CopyableBuilder<ListAccountAssignmentsResponse.Builder,ListAccountAssignmentsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionaccountAssignments
(Collection<AccountAssignment> accountAssignments) The list of assignments that match the input Amazon Web Services account and permission set.accountAssignments
(Consumer<AccountAssignment.Builder>... accountAssignments) The list of assignments that match the input Amazon Web Services account and permission set.accountAssignments
(AccountAssignment... accountAssignments) The list of assignments that match the input Amazon Web Services account and permission set.The pagination token for the list API.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
Methods inherited from interface software.amazon.awssdk.services.ssoadmin.model.SsoAdminResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
accountAssignments
ListAccountAssignmentsResponse.Builder accountAssignments(Collection<AccountAssignment> accountAssignments) The list of assignments that match the input Amazon Web Services account and permission set.
- Parameters:
accountAssignments
- The list of assignments that match the input Amazon Web Services account and permission set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountAssignments
The list of assignments that match the input Amazon Web Services account and permission set.
- Parameters:
accountAssignments
- The list of assignments that match the input Amazon Web Services account and permission set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountAssignments
ListAccountAssignmentsResponse.Builder accountAssignments(Consumer<AccountAssignment.Builder>... accountAssignments) The list of assignments that match the input Amazon Web Services account and permission set.
This is a convenience method that creates an instance of theAccountAssignment.Builder
avoiding the need to create one manually viaAccountAssignment.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaccountAssignments(List<AccountAssignment>)
.- Parameters:
accountAssignments
- a consumer that will call methods onAccountAssignment.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.
- Parameters:
nextToken
- The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-