Interface GetGeneratedPolicyRequest.Builder
- All Superinterfaces:
AccessAnalyzerRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<GetGeneratedPolicyRequest.Builder,,GetGeneratedPolicyRequest> SdkBuilder<GetGeneratedPolicyRequest.Builder,,GetGeneratedPolicyRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
GetGeneratedPolicyRequest
-
Method Summary
Modifier and TypeMethodDescriptionincludeResourcePlaceholders(Boolean includeResourcePlaceholders) The level of detail that you want to generate.includeServiceLevelTemplate(Boolean includeServiceLevelTemplate) The level of detail that you want to generate.TheJobIdthat is returned by theStartPolicyGenerationoperation.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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
-
jobId
The
JobIdthat is returned by theStartPolicyGenerationoperation. TheJobIdcan be used withGetGeneratedPolicyto retrieve the generated policies or used withCancelPolicyGenerationto cancel the policy generation request.- Parameters:
jobId- TheJobIdthat is returned by theStartPolicyGenerationoperation. TheJobIdcan be used withGetGeneratedPolicyto retrieve the generated policies or used withCancelPolicyGenerationto cancel the policy generation request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
includeResourcePlaceholders
The level of detail that you want to generate. You can specify whether to generate policies with placeholders for resource ARNs for actions that support resource level granularity in policies.
For example, in the resource section of a policy, you can receive a placeholder such as
"Resource":"arn:aws:s3:::${BucketName}"instead of"*".- Parameters:
includeResourcePlaceholders- The level of detail that you want to generate. You can specify whether to generate policies with placeholders for resource ARNs for actions that support resource level granularity in policies.For example, in the resource section of a policy, you can receive a placeholder such as
"Resource":"arn:aws:s3:::${BucketName}"instead of"*".- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
includeServiceLevelTemplate
The level of detail that you want to generate. You can specify whether to generate service-level policies.
IAM Access Analyzer uses
iam:servicelastaccessedto identify services that have been used recently to create this service-level template.- Parameters:
includeServiceLevelTemplate- The level of detail that you want to generate. You can specify whether to generate service-level policies.IAM Access Analyzer uses
iam:servicelastaccessedto identify services that have been used recently to create this service-level template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetGeneratedPolicyRequest.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
GetGeneratedPolicyRequest.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.
-