Interface CheckNoNewAccessRequest.Builder
- All Superinterfaces:
AccessAnalyzerRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<CheckNoNewAccessRequest.Builder,,CheckNoNewAccessRequest> SdkBuilder<CheckNoNewAccessRequest.Builder,,CheckNoNewAccessRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CheckNoNewAccessRequest
-
Method Summary
Modifier and TypeMethodDescriptionexistingPolicyDocument(String existingPolicyDocument) The JSON policy document to use as the content for the existing policy.newPolicyDocument(String newPolicyDocument) The JSON policy document to use as the content for the updated policy.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.policyType(String policyType) The type of policy to compare.policyType(AccessCheckPolicyType policyType) The type of policy to compare.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
-
newPolicyDocument
The JSON policy document to use as the content for the updated policy.
- Parameters:
newPolicyDocument- The JSON policy document to use as the content for the updated policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
existingPolicyDocument
The JSON policy document to use as the content for the existing policy.
- Parameters:
existingPolicyDocument- The JSON policy document to use as the content for the existing policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyType
The type of policy to compare. Identity policies grant permissions to IAM principals. Identity policies include managed and inline policies for IAM roles, users, and groups.
Resource policies grant permissions on Amazon Web Services resources. Resource policies include trust policies for IAM roles and bucket policies for Amazon S3 buckets. You can provide a generic input such as identity policy or resource policy or a specific input such as managed policy or Amazon S3 bucket policy.
- Parameters:
policyType- The type of policy to compare. Identity policies grant permissions to IAM principals. Identity policies include managed and inline policies for IAM roles, users, and groups.Resource policies grant permissions on Amazon Web Services resources. Resource policies include trust policies for IAM roles and bucket policies for Amazon S3 buckets. You can provide a generic input such as identity policy or resource policy or a specific input such as managed policy or Amazon S3 bucket policy.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
policyType
The type of policy to compare. Identity policies grant permissions to IAM principals. Identity policies include managed and inline policies for IAM roles, users, and groups.
Resource policies grant permissions on Amazon Web Services resources. Resource policies include trust policies for IAM roles and bucket policies for Amazon S3 buckets. You can provide a generic input such as identity policy or resource policy or a specific input such as managed policy or Amazon S3 bucket policy.
- Parameters:
policyType- The type of policy to compare. Identity policies grant permissions to IAM principals. Identity policies include managed and inline policies for IAM roles, users, and groups.Resource policies grant permissions on Amazon Web Services resources. Resource policies include trust policies for IAM roles and bucket policies for Amazon S3 buckets. You can provide a generic input such as identity policy or resource policy or a specific input such as managed policy or Amazon S3 bucket policy.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CheckNoNewAccessRequest.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
CheckNoNewAccessRequest.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.
-