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