Class CfnActionMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnActionMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnActionMixinProps>
- Enclosing interface:
CfnActionMixinProps
@Stability(Stable)
public static final class CfnActionMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnActionMixinProps>
A builder for
CfnActionMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactionName(String actionName) Sets the value ofCfnActionMixinProps.getActionName()actionType(String actionType) Sets the value ofCfnActionMixinProps.getActionType()build()Builds the configured instance.description(String description) Sets the value ofCfnActionMixinProps.getDescription()metadataProperties(CfnActionPropsMixin.MetadataPropertiesProperty metadataProperties) Sets the value ofCfnActionMixinProps.getMetadataProperties()metadataProperties(IResolvable metadataProperties) Sets the value ofCfnActionMixinProps.getMetadataProperties()properties(Map<String, String> properties) Sets the value ofCfnActionMixinProps.getProperties()properties(IResolvable properties) Sets the value ofCfnActionMixinProps.getProperties()Sets the value ofCfnActionMixinProps.getSource()source(IResolvable source) Sets the value ofCfnActionMixinProps.getSource()Sets the value ofCfnActionMixinProps.getStatus()Sets the value ofCfnActionMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
actionName
Sets the value ofCfnActionMixinProps.getActionName()- Parameters:
actionName- The name of the action. Must be unique to your account in an AWS Region.- Returns:
this
-
actionType
Sets the value ofCfnActionMixinProps.getActionType()- Parameters:
actionType- The action type.- Returns:
this
-
description
Sets the value ofCfnActionMixinProps.getDescription()- Parameters:
description- The description of the action.- Returns:
this
-
metadataProperties
@Stability(Stable) public CfnActionMixinProps.Builder metadataProperties(IResolvable metadataProperties) Sets the value ofCfnActionMixinProps.getMetadataProperties()- Parameters:
metadataProperties- the value to be set.- Returns:
this
-
metadataProperties
@Stability(Stable) public CfnActionMixinProps.Builder metadataProperties(CfnActionPropsMixin.MetadataPropertiesProperty metadataProperties) Sets the value ofCfnActionMixinProps.getMetadataProperties()- Parameters:
metadataProperties- the value to be set.- Returns:
this
-
properties
Sets the value ofCfnActionMixinProps.getProperties()- Parameters:
properties- A list of properties to add to the action.- Returns:
this
-
properties
Sets the value ofCfnActionMixinProps.getProperties()- Parameters:
properties- A list of properties to add to the action.- Returns:
this
-
source
Sets the value ofCfnActionMixinProps.getSource()- Parameters:
source- the value to be set.- Returns:
this
-
source
@Stability(Stable) public CfnActionMixinProps.Builder source(CfnActionPropsMixin.ActionSourceProperty source) Sets the value ofCfnActionMixinProps.getSource()- Parameters:
source- the value to be set.- Returns:
this
-
status
Sets the value ofCfnActionMixinProps.getStatus()- Parameters:
status- The status of the action.- Returns:
this
-
tags
Sets the value ofCfnActionMixinProps.getTags()- Parameters:
tags- A list of tags to apply to the action.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnActionMixinProps>- Returns:
- a new instance of
CfnActionMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-