Interface AddPolicyStatementRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- Buildable,- CopyableBuilder<AddPolicyStatementRequest.Builder,,- AddPolicyStatementRequest> - EntityResolutionRequest.Builder,- SdkBuilder<AddPolicyStatementRequest.Builder,,- AddPolicyStatementRequest> - SdkPojo,- SdkRequest.Builder
- Enclosing class:
- AddPolicyStatementRequest
- 
Method SummaryModifier and TypeMethodDescriptionThe action that the principal can use on the resource.action(Collection<String> action) The action that the principal can use on the resource.The Amazon Resource Name (ARN) of the resource that will be accessed by the principal.A set of condition keys that you can use in key policies.Determines whether the permissions specified in the policy are to be allowed (Allow) or denied (Deny).effect(StatementEffect effect) Determines whether the permissions specified in the policy are to be allowed (Allow) or denied (Deny).overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The Amazon Web Services service or Amazon Web Services account that can access the resource defined as ARN.principal(Collection<String> principal) The Amazon Web Services service or Amazon Web Services account that can access the resource defined as ARN.statementId(String statementId) A statement identifier that differentiates the statement from others in the same policy.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.entityresolution.model.EntityResolutionRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
arnThe Amazon Resource Name (ARN) of the resource that will be accessed by the principal. - Parameters:
- arn- The Amazon Resource Name (ARN) of the resource that will be accessed by the principal.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
statementIdA statement identifier that differentiates the statement from others in the same policy. - Parameters:
- statementId- A statement identifier that differentiates the statement from others in the same policy.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
effectDetermines whether the permissions specified in the policy are to be allowed ( Allow) or denied (Deny).If you set the value of the effectparameter toDenyfor theAddPolicyStatementoperation, you must also set the value of theeffectparameter in thepolicytoDenyfor thePutPolicyoperation.- Parameters:
- effect- Determines whether the permissions specified in the policy are to be allowed (- Allow) or denied (- Deny).- If you set the value of the - effectparameter to- Denyfor the- AddPolicyStatementoperation, you must also set the value of the- effectparameter in the- policyto- Denyfor the- PutPolicyoperation.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
effectDetermines whether the permissions specified in the policy are to be allowed ( Allow) or denied (Deny).If you set the value of the effectparameter toDenyfor theAddPolicyStatementoperation, you must also set the value of theeffectparameter in thepolicytoDenyfor thePutPolicyoperation.- Parameters:
- effect- Determines whether the permissions specified in the policy are to be allowed (- Allow) or denied (- Deny).- If you set the value of the - effectparameter to- Denyfor the- AddPolicyStatementoperation, you must also set the value of the- effectparameter in the- policyto- Denyfor the- PutPolicyoperation.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
actionThe action that the principal can use on the resource. For example, entityresolution:GetIdMappingJob,entityresolution:GetMatchingJob.- Parameters:
- action- The action that the principal can use on the resource.- For example, - entityresolution:GetIdMappingJob,- entityresolution:GetMatchingJob.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
actionThe action that the principal can use on the resource. For example, entityresolution:GetIdMappingJob,entityresolution:GetMatchingJob.- Parameters:
- action- The action that the principal can use on the resource.- For example, - entityresolution:GetIdMappingJob,- entityresolution:GetMatchingJob.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
principalThe Amazon Web Services service or Amazon Web Services account that can access the resource defined as ARN. - Parameters:
- principal- The Amazon Web Services service or Amazon Web Services account that can access the resource defined as ARN.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
principalThe Amazon Web Services service or Amazon Web Services account that can access the resource defined as ARN. - Parameters:
- principal- The Amazon Web Services service or Amazon Web Services account that can access the resource defined as ARN.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
conditionA set of condition keys that you can use in key policies. - Parameters:
- condition- A set of condition keys that you can use in key policies.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
overrideConfigurationAddPolicyStatementRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationAddPolicyStatementRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-