Interface PutComponentPolicyRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<PutComponentPolicyRequest.Builder,PutComponentPolicyRequest>,ImagebuilderRequest.Builder,SdkBuilder<PutComponentPolicyRequest.Builder,PutComponentPolicyRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- PutComponentPolicyRequest
public static interface PutComponentPolicyRequest.Builder extends ImagebuilderRequest.Builder, SdkPojo, CopyableBuilder<PutComponentPolicyRequest.Builder,PutComponentPolicyRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PutComponentPolicyRequest.BuildercomponentArn(String componentArn)The Amazon Resource Name (ARN) of the component that this policy should be applied to.PutComponentPolicyRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)PutComponentPolicyRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)PutComponentPolicyRequest.Builderpolicy(String policy)The policy to apply.-
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.imagebuilder.model.ImagebuilderRequest.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
-
componentArn
PutComponentPolicyRequest.Builder componentArn(String componentArn)
The Amazon Resource Name (ARN) of the component that this policy should be applied to.
- Parameters:
componentArn- The Amazon Resource Name (ARN) of the component that this policy should be applied to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policy
PutComponentPolicyRequest.Builder policy(String policy)
The policy to apply.
- Parameters:
policy- The policy to apply.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
PutComponentPolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
PutComponentPolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-