Class CfnImagePropsMixin.DeletionSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.imagebuilder.CfnImagePropsMixin.DeletionSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnImagePropsMixin.DeletionSettingsProperty>
- Enclosing interface:
CfnImagePropsMixin.DeletionSettingsProperty
@Stability(Stable)
public static final class CfnImagePropsMixin.DeletionSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnImagePropsMixin.DeletionSettingsProperty>
A builder for
CfnImagePropsMixin.DeletionSettingsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.executionRole(String executionRole) Sets the value ofCfnImagePropsMixin.DeletionSettingsProperty.getExecutionRole()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
executionRole
@Stability(Stable) public CfnImagePropsMixin.DeletionSettingsProperty.Builder executionRole(String executionRole) Sets the value ofCfnImagePropsMixin.DeletionSettingsProperty.getExecutionRole()- Parameters:
executionRole- The name or Amazon Resource Name (ARN) for the IAM role you create that grants Image Builder access to delete the image and its underlying resources.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnImagePropsMixin.DeletionSettingsProperty>- Returns:
- a new instance of
CfnImagePropsMixin.DeletionSettingsProperty - Throws:
NullPointerException- if any required attribute was not provided
-