Interface ListPolicyGenerationsRequest.Builder
-
- All Superinterfaces:
AccessAnalyzerRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<ListPolicyGenerationsRequest.Builder,ListPolicyGenerationsRequest>,SdkBuilder<ListPolicyGenerationsRequest.Builder,ListPolicyGenerationsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListPolicyGenerationsRequest
public static interface ListPolicyGenerationsRequest.Builder extends AccessAnalyzerRequest.Builder, SdkPojo, CopyableBuilder<ListPolicyGenerationsRequest.Builder,ListPolicyGenerationsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListPolicyGenerationsRequest.BuildermaxResults(Integer maxResults)The maximum number of results to return in the response.ListPolicyGenerationsRequest.BuildernextToken(String nextToken)A token used for pagination of results returned.ListPolicyGenerationsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListPolicyGenerationsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ListPolicyGenerationsRequest.BuilderprincipalArn(String principalArn)The ARN of the IAM entity (user or role) for which you are generating a policy.-
Methods inherited from interface software.amazon.awssdk.services.accessanalyzer.model.AccessAnalyzerRequest.Builder
build
-
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
-
-
-
-
Method Detail
-
principalArn
ListPolicyGenerationsRequest.Builder principalArn(String principalArn)
The ARN of the IAM entity (user or role) for which you are generating a policy. Use this with
ListGeneratedPoliciesto filter the results to only include results for a specific principal.- Parameters:
principalArn- The ARN of the IAM entity (user or role) for which you are generating a policy. Use this withListGeneratedPoliciesto filter the results to only include results for a specific principal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
ListPolicyGenerationsRequest.Builder maxResults(Integer maxResults)
The maximum number of results to return in the response.
- Parameters:
maxResults- The maximum number of results to return in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
ListPolicyGenerationsRequest.Builder nextToken(String nextToken)
A token used for pagination of results returned.
- Parameters:
nextToken- A token used for pagination of results returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListPolicyGenerationsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListPolicyGenerationsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-