Interface AddPolicyStatementRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<AddPolicyStatementRequest.Builder,AddPolicyStatementRequest>,EntityResolutionRequest.Builder,SdkBuilder<AddPolicyStatementRequest.Builder,AddPolicyStatementRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- AddPolicyStatementRequest
public static interface AddPolicyStatementRequest.Builder extends EntityResolutionRequest.Builder, SdkPojo, CopyableBuilder<AddPolicyStatementRequest.Builder,AddPolicyStatementRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AddPolicyStatementRequest.Builderaction(String... action)The action that the principal can use on the resource.AddPolicyStatementRequest.Builderaction(Collection<String> action)The action that the principal can use on the resource.AddPolicyStatementRequest.Builderarn(String arn)The Amazon Resource Name (ARN) of the resource that will be accessed by the principal.AddPolicyStatementRequest.Buildercondition(String condition)A set of condition keys that you can use in key policies.AddPolicyStatementRequest.Buildereffect(String effect)Determines whether the permissions specified in the policy are to be allowed (Allow) or denied (Deny).AddPolicyStatementRequest.Buildereffect(StatementEffect effect)Determines whether the permissions specified in the policy are to be allowed (Allow) or denied (Deny).AddPolicyStatementRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)AddPolicyStatementRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)AddPolicyStatementRequest.Builderprincipal(String... principal)The Amazon Web Services service or Amazon Web Services account that can access the resource defined as ARN.AddPolicyStatementRequest.Builderprincipal(Collection<String> principal)The Amazon Web Services service or Amazon Web Services account that can access the resource defined as ARN.AddPolicyStatementRequest.BuilderstatementId(String statementId)A statement identifier that differentiates the statement from others in the same policy.-
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.services.entityresolution.model.EntityResolutionRequest.Builder
build
-
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
-
action
AddPolicyStatementRequest.Builder action(Collection<String> action)
The 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.
-
action
AddPolicyStatementRequest.Builder action(String... action)
The 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.
-
arn
AddPolicyStatementRequest.Builder arn(String arn)
The 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.
-
condition
AddPolicyStatementRequest.Builder condition(String condition)
A 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.
-
effect
AddPolicyStatementRequest.Builder effect(String effect)
Determines whether the permissions specified in the policy are to be allowed (
Allow) or denied (Deny).- Parameters:
effect- Determines whether the permissions specified in the policy are to be allowed (Allow) or denied (Deny).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
StatementEffect,StatementEffect
-
effect
AddPolicyStatementRequest.Builder effect(StatementEffect effect)
Determines whether the permissions specified in the policy are to be allowed (
Allow) or denied (Deny).- Parameters:
effect- Determines whether the permissions specified in the policy are to be allowed (Allow) or denied (Deny).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
StatementEffect,StatementEffect
-
principal
AddPolicyStatementRequest.Builder principal(Collection<String> principal)
The 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.
-
principal
AddPolicyStatementRequest.Builder principal(String... principal)
The 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.
-
statementId
AddPolicyStatementRequest.Builder statementId(String statementId)
A 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.
-
overrideConfiguration
AddPolicyStatementRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
AddPolicyStatementRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-