Class CfnTrialComponentMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnTrialComponentMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTrialComponentMixinProps>
- Enclosing interface:
CfnTrialComponentMixinProps
@Stability(Stable)
public static final class CfnTrialComponentMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTrialComponentMixinProps>
A builder for
CfnTrialComponentMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.displayName(String displayName) Sets the value ofCfnTrialComponentMixinProps.getDisplayName()inputArtifacts(Map<String, ? extends Object> inputArtifacts) Sets the value ofCfnTrialComponentMixinProps.getInputArtifacts()inputArtifacts(IResolvable inputArtifacts) Sets the value ofCfnTrialComponentMixinProps.getInputArtifacts()metadataProperties(CfnTrialComponentPropsMixin.MetadataPropertiesProperty metadataProperties) Sets the value ofCfnTrialComponentMixinProps.getMetadataProperties()metadataProperties(IResolvable metadataProperties) Sets the value ofCfnTrialComponentMixinProps.getMetadataProperties()outputArtifacts(Map<String, ? extends Object> outputArtifacts) Sets the value ofCfnTrialComponentMixinProps.getOutputArtifacts()outputArtifacts(IResolvable outputArtifacts) Sets the value ofCfnTrialComponentMixinProps.getOutputArtifacts()parameters(Map<String, ? extends Object> parameters) Sets the value ofCfnTrialComponentMixinProps.getParameters()parameters(IResolvable parameters) Sets the value ofCfnTrialComponentMixinProps.getParameters()Sets the value ofCfnTrialComponentMixinProps.getStatus()status(IResolvable status) Sets the value ofCfnTrialComponentMixinProps.getStatus()tags(List<? extends CfnTrialComponentPropsMixin.TagsItemsProperty> tags) Sets the value ofCfnTrialComponentMixinProps.getTags()trialComponentName(String trialComponentName) Sets the value ofCfnTrialComponentMixinProps.getTrialComponentName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
displayName
Sets the value ofCfnTrialComponentMixinProps.getDisplayName()- Parameters:
displayName- The name of the component as displayed. If DisplayName isn't specified, TrialComponentName is displayed.- Returns:
this
-
inputArtifacts
@Stability(Stable) public CfnTrialComponentMixinProps.Builder inputArtifacts(IResolvable inputArtifacts) Sets the value ofCfnTrialComponentMixinProps.getInputArtifacts()- Parameters:
inputArtifacts- The input artifacts for the component.- Returns:
this
-
inputArtifacts
@Stability(Stable) public CfnTrialComponentMixinProps.Builder inputArtifacts(Map<String, ? extends Object> inputArtifacts) Sets the value ofCfnTrialComponentMixinProps.getInputArtifacts()- Parameters:
inputArtifacts- The input artifacts for the component.- Returns:
this
-
metadataProperties
@Stability(Stable) public CfnTrialComponentMixinProps.Builder metadataProperties(IResolvable metadataProperties) Sets the value ofCfnTrialComponentMixinProps.getMetadataProperties()- Parameters:
metadataProperties- Metadata properties of the tracking entity, trial, or trial component.- Returns:
this
-
metadataProperties
@Stability(Stable) public CfnTrialComponentMixinProps.Builder metadataProperties(CfnTrialComponentPropsMixin.MetadataPropertiesProperty metadataProperties) Sets the value ofCfnTrialComponentMixinProps.getMetadataProperties()- Parameters:
metadataProperties- Metadata properties of the tracking entity, trial, or trial component.- Returns:
this
-
outputArtifacts
@Stability(Stable) public CfnTrialComponentMixinProps.Builder outputArtifacts(IResolvable outputArtifacts) Sets the value ofCfnTrialComponentMixinProps.getOutputArtifacts()- Parameters:
outputArtifacts- The output artifacts for the component.- Returns:
this
-
outputArtifacts
@Stability(Stable) public CfnTrialComponentMixinProps.Builder outputArtifacts(Map<String, ? extends Object> outputArtifacts) Sets the value ofCfnTrialComponentMixinProps.getOutputArtifacts()- Parameters:
outputArtifacts- The output artifacts for the component.- Returns:
this
-
parameters
Sets the value ofCfnTrialComponentMixinProps.getParameters()- Parameters:
parameters- The hyperparameters for the component.- Returns:
this
-
parameters
@Stability(Stable) public CfnTrialComponentMixinProps.Builder parameters(Map<String, ? extends Object> parameters) Sets the value ofCfnTrialComponentMixinProps.getParameters()- Parameters:
parameters- The hyperparameters for the component.- Returns:
this
-
status
Sets the value ofCfnTrialComponentMixinProps.getStatus()- Parameters:
status- The status of the trial component.- Returns:
this
-
status
@Stability(Stable) public CfnTrialComponentMixinProps.Builder status(CfnTrialComponentPropsMixin.TrialComponentStatusProperty status) Sets the value ofCfnTrialComponentMixinProps.getStatus()- Parameters:
status- The status of the trial component.- Returns:
this
-
tags
@Stability(Stable) public CfnTrialComponentMixinProps.Builder tags(List<? extends CfnTrialComponentPropsMixin.TagsItemsProperty> tags) Sets the value ofCfnTrialComponentMixinProps.getTags()- Parameters:
tags- A list of tags to associate with the trial component.- Returns:
this
-
trialComponentName
@Stability(Stable) public CfnTrialComponentMixinProps.Builder trialComponentName(String trialComponentName) Sets the value ofCfnTrialComponentMixinProps.getTrialComponentName()- Parameters:
trialComponentName- The name of the trial component. Must be unique in your AWS account and is not case-sensitive.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTrialComponentMixinProps>- Returns:
- a new instance of
CfnTrialComponentMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-