public static interface PutComponentPolicyRequest.Builder extends ImagebuilderRequest.Builder, SdkPojo, CopyableBuilder<PutComponentPolicyRequest.Builder,PutComponentPolicyRequest>
Modifier and Type | Method and Description |
---|---|
PutComponentPolicyRequest.Builder |
componentArn(String componentArn)
The Amazon Resource Name (ARN) of the component that this policy should be applied to.
|
PutComponentPolicyRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
PutComponentPolicyRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
PutComponentPolicyRequest.Builder |
policy(String policy)
The policy to apply.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
PutComponentPolicyRequest.Builder componentArn(String componentArn)
The Amazon Resource Name (ARN) of the component that this policy should be applied to.
componentArn
- The Amazon Resource Name (ARN) of the component that this policy should be applied to.PutComponentPolicyRequest.Builder policy(String policy)
The policy to apply.
policy
- The policy to apply.PutComponentPolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.PutComponentPolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.