Class CfnExperimentTrialComponent.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnExperimentTrialComponent.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnExperimentTrialComponent>
- Enclosing class:
CfnExperimentTrialComponent
@Stability(Stable)
public static final class CfnExperimentTrialComponent.Builder
extends Object
implements software.amazon.jsii.Builder<CfnExperimentTrialComponent>
A fluent builder for
CfnExperimentTrialComponent.-
Method Summary
Modifier and TypeMethodDescriptionbuild()displayName(String displayName) The name of the component as displayed.When the component ended.metadataProperties(IResolvable metadataProperties) Metadata properties of the tracking entity, trial, or trial component.metadataProperties(CfnExperimentTrialComponent.MetadataPropertiesProperty metadataProperties) Metadata properties of the tracking entity, trial, or trial component.When the component started.status(IResolvable status) The status of the trial component.The status of the trial component.tags(List<? extends CfnExperimentTrialComponent.TagsItemsProperty> tags) A list of tags to associate with the component.trialComponentName(String trialComponentName) The name of the trial component.
-
Method Details
-
create
@Stability(Stable) public static CfnExperimentTrialComponent.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnExperimentTrialComponent.Builder.
-
trialComponentName
@Stability(Stable) public CfnExperimentTrialComponent.Builder trialComponentName(String trialComponentName) The name of the trial component.The name must be unique in your AWS account and is not case-sensitive.
- Parameters:
trialComponentName- The name of the trial component. This parameter is required.- Returns:
this- See Also:
-
displayName
The name of the component as displayed.The name doesn't need to be unique. If DisplayName isn't specified, TrialComponentName is displayed.
- Parameters:
displayName- The name of the component as displayed. This parameter is required.- Returns:
this- See Also:
-
endTime
When the component ended.- Parameters:
endTime- When the component ended. This parameter is required.- Returns:
this- See Also:
-
metadataProperties
@Stability(Stable) public CfnExperimentTrialComponent.Builder metadataProperties(IResolvable metadataProperties) Metadata properties of the tracking entity, trial, or trial component.- Parameters:
metadataProperties- Metadata properties of the tracking entity, trial, or trial component. This parameter is required.- Returns:
this- See Also:
-
metadataProperties
@Stability(Stable) public CfnExperimentTrialComponent.Builder metadataProperties(CfnExperimentTrialComponent.MetadataPropertiesProperty metadataProperties) Metadata properties of the tracking entity, trial, or trial component.- Parameters:
metadataProperties- Metadata properties of the tracking entity, trial, or trial component. This parameter is required.- Returns:
this- See Also:
-
startTime
When the component started.- Parameters:
startTime- When the component started. This parameter is required.- Returns:
this- See Also:
-
status
The status of the trial component.- Parameters:
status- The status of the trial component. This parameter is required.- Returns:
this- See Also:
-
status
@Stability(Stable) public CfnExperimentTrialComponent.Builder status(CfnExperimentTrialComponent.StatusProperty status) The status of the trial component.- Parameters:
status- The status of the trial component. This parameter is required.- Returns:
this- See Also:
-
tags
@Stability(Stable) public CfnExperimentTrialComponent.Builder tags(List<? extends CfnExperimentTrialComponent.TagsItemsProperty> tags) A list of tags to associate with the component.- Parameters:
tags- A list of tags to associate with the component. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnExperimentTrialComponent>- Returns:
- a newly built instance of
CfnExperimentTrialComponent.
-