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