public static interface PutImagePolicyRequest.Builder extends ImagebuilderRequest.Builder, SdkPojo, CopyableBuilder<PutImagePolicyRequest.Builder,PutImagePolicyRequest>
Modifier and Type | Method and Description |
---|---|
PutImagePolicyRequest.Builder |
imageArn(String imageArn)
The Amazon Resource Name (ARN) of the image that this policy should be applied to.
|
PutImagePolicyRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
PutImagePolicyRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
PutImagePolicyRequest.Builder |
policy(String policy)
The policy to apply.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
PutImagePolicyRequest.Builder imageArn(String imageArn)
The Amazon Resource Name (ARN) of the image that this policy should be applied to.
imageArn
- The Amazon Resource Name (ARN) of the image that this policy should be applied to.PutImagePolicyRequest.Builder policy(String policy)
The policy to apply.
policy
- The policy to apply.PutImagePolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.PutImagePolicyRequest.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.