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 Summary
Modifier 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.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 Details
-
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
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
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
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
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:
-
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:
-
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
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
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) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
AddPolicyStatementRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-