Interface CfnTrialComponentProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTrialComponentProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.138.0 (build 0ca7ee8)",
date="2026-08-10T14:51:11.595Z")
@Stability(Stable)
public interface CfnTrialComponentProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnTrialComponent.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.sagemaker.*;
CfnTrialComponentProps cfnTrialComponentProps = CfnTrialComponentProps.builder()
.trialComponentName("trialComponentName")
// the properties below are optional
.displayName("displayName")
.inputArtifacts(Map.of(
"inputArtifactsKey", TrialComponentArtifactProperty.builder()
.value("value")
// the properties below are optional
.mediaType("mediaType")
.build()))
.metadataProperties(MetadataPropertiesProperty.builder()
.commitId("commitId")
.generatedBy("generatedBy")
.projectId("projectId")
.repository("repository")
.build())
.outputArtifacts(Map.of(
"outputArtifactsKey", TrialComponentArtifactProperty.builder()
.value("value")
// the properties below are optional
.mediaType("mediaType")
.build()))
.parameters(Map.of(
"parametersKey", TrialComponentParameterValueProperty.builder()
.numberValue(123)
.stringValue("stringValue")
.build()))
.status(TrialComponentStatusProperty.builder()
.message("message")
.primaryStatus("primaryStatus")
.build())
.tags(List.of(TagsItemsProperty.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTrialComponentPropsstatic final classAn implementation forCfnTrialComponentProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe name of the component as displayed.default ObjectThe input artifacts for the component.default ObjectMetadata properties of the tracking entity, trial, or trial component.default ObjectThe output artifacts for the component.default ObjectThe hyperparameters for the component.default ObjectThe status of the trial component.default List<CfnTrialComponent.TagsItemsProperty> getTags()A list of tags to associate with the trial component.The name of the trial component.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getTrialComponentName
The name of the trial component.Must be unique in your AWS account and is not case-sensitive.
- See Also:
-
getDisplayName
The name of the component as displayed.If DisplayName isn't specified, TrialComponentName is displayed.
- See Also:
-
getInputArtifacts
The input artifacts for the component.Returns union: either
IResolvableor Mapinvalid input: '<'String, eitherIResolvableorCfnTrialComponent.TrialComponentArtifactProperty>- See Also:
-
getMetadataProperties
Metadata properties of the tracking entity, trial, or trial component.Returns union: either
IResolvableorCfnTrialComponent.MetadataPropertiesProperty- See Also:
-
getOutputArtifacts
The output artifacts for the component.Returns union: either
IResolvableor Mapinvalid input: '<'String, eitherIResolvableorCfnTrialComponent.TrialComponentArtifactProperty>- See Also:
-
getParameters
The hyperparameters for the component.Returns union: either
IResolvableor Mapinvalid input: '<'String, eitherIResolvableorCfnTrialComponent.TrialComponentParameterValueProperty>- See Also:
-
getStatus
The status of the trial component.Returns union: either
IResolvableorCfnTrialComponent.TrialComponentStatusProperty- See Also:
-
getTags
A list of tags to associate with the trial component.- See Also:
-
builder
- Returns:
- a
CfnTrialComponentProps.BuilderofCfnTrialComponentProps
-