Interface CheckAccessNotGrantedRequest.Builder
-
- All Superinterfaces:
AccessAnalyzerRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<CheckAccessNotGrantedRequest.Builder,CheckAccessNotGrantedRequest>,SdkBuilder<CheckAccessNotGrantedRequest.Builder,CheckAccessNotGrantedRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CheckAccessNotGrantedRequest
public static interface CheckAccessNotGrantedRequest.Builder extends AccessAnalyzerRequest.Builder, SdkPojo, CopyableBuilder<CheckAccessNotGrantedRequest.Builder,CheckAccessNotGrantedRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CheckAccessNotGrantedRequest.Builderaccess(Collection<Access> access)An access object containing the permissions that shouldn't be granted by the specified policy.CheckAccessNotGrantedRequest.Builderaccess(Consumer<Access.Builder>... access)An access object containing the permissions that shouldn't be granted by the specified policy.CheckAccessNotGrantedRequest.Builderaccess(Access... access)An access object containing the permissions that shouldn't be granted by the specified policy.CheckAccessNotGrantedRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CheckAccessNotGrantedRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CheckAccessNotGrantedRequest.BuilderpolicyDocument(String policyDocument)The JSON policy document to use as the content for the policy.CheckAccessNotGrantedRequest.BuilderpolicyType(String policyType)The type of policy.CheckAccessNotGrantedRequest.BuilderpolicyType(AccessCheckPolicyType policyType)The type of 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
-
policyDocument
CheckAccessNotGrantedRequest.Builder policyDocument(String policyDocument)
The JSON policy document to use as the content for the policy.
- Parameters:
policyDocument- The JSON policy document to use as the content for the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
access
CheckAccessNotGrantedRequest.Builder access(Collection<Access> access)
An access object containing the permissions that shouldn't be granted by the specified policy.
- Parameters:
access- An access object containing the permissions that shouldn't be granted by the specified policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
access
CheckAccessNotGrantedRequest.Builder access(Access... access)
An access object containing the permissions that shouldn't be granted by the specified policy.
- Parameters:
access- An access object containing the permissions that shouldn't be granted by the specified policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
access
CheckAccessNotGrantedRequest.Builder access(Consumer<Access.Builder>... access)
An access object containing the permissions that shouldn't be granted by the specified policy.
This is a convenience method that creates an instance of theAccess.Builderavoiding the need to create one manually viaAccess.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#access(List.) - Parameters:
access- a consumer that will call methods onAccess.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#access(java.util.Collection)
-
policyType
CheckAccessNotGrantedRequest.Builder policyType(String policyType)
The type of policy. 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. 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:
AccessCheckPolicyType,AccessCheckPolicyType
-
policyType
CheckAccessNotGrantedRequest.Builder policyType(AccessCheckPolicyType policyType)
The type of policy. 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. 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:
AccessCheckPolicyType,AccessCheckPolicyType
-
overrideConfiguration
CheckAccessNotGrantedRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CheckAccessNotGrantedRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-