Interface ListAccountAssignmentsForPrincipalResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListAccountAssignmentsForPrincipalResponse.Builder,ListAccountAssignmentsForPrincipalResponse>,SdkBuilder<ListAccountAssignmentsForPrincipalResponse.Builder,ListAccountAssignmentsForPrincipalResponse>,SdkPojo,SdkResponse.Builder,SsoAdminResponse.Builder
- Enclosing class:
- ListAccountAssignmentsForPrincipalResponse
public static interface ListAccountAssignmentsForPrincipalResponse.Builder extends SsoAdminResponse.Builder, SdkPojo, CopyableBuilder<ListAccountAssignmentsForPrincipalResponse.Builder,ListAccountAssignmentsForPrincipalResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListAccountAssignmentsForPrincipalResponse.BuilderaccountAssignments(Collection<AccountAssignmentForPrincipal> accountAssignments)An array list of the account assignments for the principal.ListAccountAssignmentsForPrincipalResponse.BuilderaccountAssignments(Consumer<AccountAssignmentForPrincipal.Builder>... accountAssignments)An array list of the account assignments for the principal.ListAccountAssignmentsForPrincipalResponse.BuilderaccountAssignments(AccountAssignmentForPrincipal... accountAssignments)An array list of the account assignments for the principal.ListAccountAssignmentsForPrincipalResponse.BuildernextToken(String nextToken)If present, this value indicates that more output is available than is included in the current response.-
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 Detail
-
accountAssignments
ListAccountAssignmentsForPrincipalResponse.Builder accountAssignments(Collection<AccountAssignmentForPrincipal> accountAssignments)
An array list of the account assignments for the principal.
- Parameters:
accountAssignments- An array list of the account assignments for the principal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountAssignments
ListAccountAssignmentsForPrincipalResponse.Builder accountAssignments(AccountAssignmentForPrincipal... accountAssignments)
An array list of the account assignments for the principal.
- Parameters:
accountAssignments- An array list of the account assignments for the principal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountAssignments
ListAccountAssignmentsForPrincipalResponse.Builder accountAssignments(Consumer<AccountAssignmentForPrincipal.Builder>... accountAssignments)
An array list of the account assignments for the principal.
This is a convenience method that creates an instance of theAccountAssignmentForPrincipal.Builderavoiding the need to create one manually viaAccountAssignmentForPrincipal.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#accountAssignments(List.) - Parameters:
accountAssignments- a consumer that will call methods onAccountAssignmentForPrincipal.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#accountAssignments(java.util.Collection)
-
nextToken
ListAccountAssignmentsForPrincipalResponse.Builder nextToken(String nextToken)
If present, this value indicates that more output is available than is included in the current response. Use this value in the
NextTokenrequest parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until theNextTokenresponse element comes back asnull. This indicates that this is the last page of results.- Parameters:
nextToken- If present, this value indicates that more output is available than is included in the current response. Use this value in theNextTokenrequest parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until theNextTokenresponse element comes back asnull. This indicates that this is the last page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-