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
Modifier and TypeMethodDescriptionmaxResults(Integer maxResults) The maximum number of results to return in the response.A token used for pagination of results returned.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.principalArn(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
buildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods 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, sdkFields
-
Method Details
-
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
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
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) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListPolicyGenerationsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-