Interface PutResourcePolicyRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<PutResourcePolicyRequest.Builder,,PutResourcePolicyRequest> LambdaWebRequest.Builder,SdkBuilder<PutResourcePolicyRequest.Builder,,PutResourcePolicyRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
PutResourcePolicyRequest
@Mutable
@NotThreadSafe
public static interface PutResourcePolicyRequest.Builder
extends LambdaWebRequest.Builder, SdkPojo, CopyableBuilder<PutResourcePolicyRequest.Builder,PutResourcePolicyRequest>
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The JSON-formatted resource-based policy to attach to the web function.resourceArn(String resourceArn) The Amazon Resource Name (ARN) of the web function.revisionId(String revisionId) The revision ID of the existing policy.Methods 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.services.lambdaweb.model.LambdaWebRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
resourceArn
The Amazon Resource Name (ARN) of the web function.
- Parameters:
resourceArn- The Amazon Resource Name (ARN) of the web function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policy
The JSON-formatted resource-based policy to attach to the web function.
- Parameters:
policy- The JSON-formatted resource-based policy to attach to the web function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revisionId
The revision ID of the existing policy. Use this to prevent conflicts when updating a policy concurrently. If you don't specify a value, the update proceeds without checking the current revision.
- Parameters:
revisionId- The revision ID of the existing policy. Use this to prevent conflicts when updating a policy concurrently. If you don't specify a value, the update proceeds without checking the current revision.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
PutResourcePolicyRequest.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
PutResourcePolicyRequest.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.
-