Interface SetStackPolicyRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CloudFormationRequest.Builder
,CopyableBuilder<SetStackPolicyRequest.Builder,
,SetStackPolicyRequest> SdkBuilder<SetStackPolicyRequest.Builder,
,SetStackPolicyRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
SetStackPolicyRequest
public static interface SetStackPolicyRequest.Builder
extends CloudFormationRequest.Builder, SdkPojo, CopyableBuilder<SetStackPolicyRequest.Builder,SetStackPolicyRequest>
-
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 name or unique stack ID that you want to associate a policy with.stackPolicyBody
(String stackPolicyBody) Structure containing the stack policy body.stackPolicyURL
(String stackPolicyURL) Location of a file containing the stack policy.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.cloudformation.model.CloudFormationRequest.Builder
build
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 Details
-
stackName
The name or unique stack ID that you want to associate a policy with.
- Parameters:
stackName
- The name or unique stack ID that you want to associate a policy with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stackPolicyBody
Structure containing the stack policy body. For more information, go to Prevent updates to stack resources in the CloudFormation User Guide. You can specify either the
StackPolicyBody
or theStackPolicyURL
parameter, but not both.- Parameters:
stackPolicyBody
- Structure containing the stack policy body. For more information, go to Prevent updates to stack resources in the CloudFormation User Guide. You can specify either theStackPolicyBody
or theStackPolicyURL
parameter, but not both.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stackPolicyURL
Location of a file containing the stack policy. The URL must point to a policy (maximum size: 16 KB) located in an Amazon S3 bucket in the same Amazon Web Services Region as the stack. The location for an Amazon S3 bucket must start with
https://
. You can specify either theStackPolicyBody
or theStackPolicyURL
parameter, but not both.- Parameters:
stackPolicyURL
- Location of a file containing the stack policy. The URL must point to a policy (maximum size: 16 KB) located in an Amazon S3 bucket in the same Amazon Web Services Region as the stack. The location for an Amazon S3 bucket must start withhttps://
. You can specify either theStackPolicyBody
or theStackPolicyURL
parameter, but not both.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
SetStackPolicyRequest.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
SetStackPolicyRequest.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.
-