Interface ListAccountAssignmentsForPrincipalRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListAccountAssignmentsForPrincipalRequest.Builder,ListAccountAssignmentsForPrincipalRequest>,SdkBuilder<ListAccountAssignmentsForPrincipalRequest.Builder,ListAccountAssignmentsForPrincipalRequest>,SdkPojo,SdkRequest.Builder,SsoAdminRequest.Builder
- Enclosing class:
- ListAccountAssignmentsForPrincipalRequest
public static interface ListAccountAssignmentsForPrincipalRequest.Builder extends SsoAdminRequest.Builder, SdkPojo, CopyableBuilder<ListAccountAssignmentsForPrincipalRequest.Builder,ListAccountAssignmentsForPrincipalRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
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.services.ssoadmin.model.SsoAdminRequest.Builder
build
-
-
-
-
Method Detail
-
filter
ListAccountAssignmentsForPrincipalRequest.Builder filter(ListAccountAssignmentsFilter filter)
Specifies an Amazon Web Services account ID number. Results are filtered to only those that match this ID number.
- Parameters:
filter- Specifies an Amazon Web Services account ID number. Results are filtered to only those that match this ID number.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filter
default ListAccountAssignmentsForPrincipalRequest.Builder filter(Consumer<ListAccountAssignmentsFilter.Builder> filter)
Specifies an Amazon Web Services account ID number. Results are filtered to only those that match this ID number.
This is a convenience method that creates an instance of theListAccountAssignmentsFilter.Builderavoiding the need to create one manually viaListAccountAssignmentsFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilter(ListAccountAssignmentsFilter).- Parameters:
filter- a consumer that will call methods onListAccountAssignmentsFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
filter(ListAccountAssignmentsFilter)
-
instanceArn
ListAccountAssignmentsForPrincipalRequest.Builder instanceArn(String instanceArn)
Specifies the ARN of the instance of IAM Identity Center that contains the principal.
- Parameters:
instanceArn- Specifies the ARN of the instance of IAM Identity Center that contains the principal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
ListAccountAssignmentsForPrincipalRequest.Builder maxResults(Integer maxResults)
Specifies the total number of results that you want included in each response. If additional items exist beyond the number you specify, the
NextTokenresponse element is returned with a value (not null). Include the specified value as theNextTokenrequest parameter in the next call to the operation to get the next set of results. Note that the service might return fewer results than the maximum even when there are more results available. You should checkNextTokenafter every operation to ensure that you receive all of the results.- Parameters:
maxResults- Specifies the total number of results that you want included in each response. If additional items exist beyond the number you specify, theNextTokenresponse element is returned with a value (not null). Include the specified value as theNextTokenrequest parameter in the next call to the operation to get the next set of results. Note that the service might return fewer results than the maximum even when there are more results available. You should checkNextTokenafter every operation to ensure that you receive all of the results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
ListAccountAssignmentsForPrincipalRequest.Builder nextToken(String nextToken)
Specifies that you want to receive the next page of results. Valid only if you received a
NextTokenresponse in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call'sNextTokenresponse to request the next page of results.- Parameters:
nextToken- Specifies that you want to receive the next page of results. Valid only if you received aNextTokenresponse in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call'sNextTokenresponse to request the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principalId
ListAccountAssignmentsForPrincipalRequest.Builder principalId(String principalId)
Specifies the principal for which you want to retrieve the list of account assignments.
- Parameters:
principalId- Specifies the principal for which you want to retrieve the list of account assignments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principalType
ListAccountAssignmentsForPrincipalRequest.Builder principalType(String principalType)
Specifies the type of the principal.
- Parameters:
principalType- Specifies the type of the principal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PrincipalType,PrincipalType
-
principalType
ListAccountAssignmentsForPrincipalRequest.Builder principalType(PrincipalType principalType)
Specifies the type of the principal.
- Parameters:
principalType- Specifies the type of the principal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PrincipalType,PrincipalType
-
overrideConfiguration
ListAccountAssignmentsForPrincipalRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListAccountAssignmentsForPrincipalRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-