Interface ListPermissionSetAssignmentsResponse.Builder
- All Superinterfaces:
AssuranceResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<ListPermissionSetAssignmentsResponse.Builder,,ListPermissionSetAssignmentsResponse> SdkBuilder<ListPermissionSetAssignmentsResponse.Builder,,ListPermissionSetAssignmentsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListPermissionSetAssignmentsResponse
@Mutable
@NotThreadSafe
public static interface ListPermissionSetAssignmentsResponse.Builder
extends AssuranceResponse.Builder, SdkPojo, CopyableBuilder<ListPermissionSetAssignmentsResponse.Builder,ListPermissionSetAssignmentsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionassignments(Collection<PermissionSetAssignment> assignments) The list of permission set assignments.assignments(Consumer<PermissionSetAssignment.Builder>... assignments) The list of permission set assignments.assignments(PermissionSetAssignment... assignments) The list of permission set assignments.The pagination token returned by a previous request.Methods inherited from interface software.amazon.awssdk.services.assurance.model.AssuranceResponse.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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
assignments
ListPermissionSetAssignmentsResponse.Builder assignments(Collection<PermissionSetAssignment> assignments) The list of permission set assignments.
- Parameters:
assignments- The list of permission set assignments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assignments
The list of permission set assignments.
- Parameters:
assignments- The list of permission set assignments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assignments
ListPermissionSetAssignmentsResponse.Builder assignments(Consumer<PermissionSetAssignment.Builder>... assignments) The list of permission set assignments.
This is a convenience method that creates an instance of thePermissionSetAssignment.Builderavoiding the need to create one manually viaPermissionSetAssignment.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toassignments(List<PermissionSetAssignment>).- Parameters:
assignments- a consumer that will call methods onPermissionSetAssignment.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The pagination token returned by a previous request. Use it to retrieve the next page of results. If the value is null, there are no more results to return.
- Parameters:
nextToken- The pagination token returned by a previous request. Use it to retrieve the next page of results. If the value is null, there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-