Class CfnExperimentTrialComponent
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.sagemaker.CfnExperimentTrialComponent
- All Implemented Interfaces:
IInspectable,IEnvironmentAware,IExperimentTrialComponentRef,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.138.0 (build 0ca7ee8)",
date="2026-08-10T14:51:11.314Z")
@Stability(Stable)
public class CfnExperimentTrialComponent
extends CfnResource
implements IInspectable, IExperimentTrialComponentRef, ITaggableV2
Resource type definition for AWS SageMaker Experiment Trial Component.
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.*;
CfnExperimentTrialComponent cfnExperimentTrialComponent = CfnExperimentTrialComponent.Builder.create(this, "MyCfnExperimentTrialComponent")
.trialComponentName("trialComponentName")
// the properties below are optional
.displayName("displayName")
.endTime("endTime")
.metadataProperties(MetadataPropertiesProperty.builder()
.commitId("commitId")
.generatedBy("generatedBy")
.projectId("projectId")
.repository("repository")
.build())
.startTime("startTime")
.status(StatusProperty.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 TypeClassDescriptionstatic final classA fluent builder forCfnExperimentTrialComponent.static interfaceMetadata properties of the tracking entity, trial, or trial component.static interfaceThe status of the trial component.static interfaceExample:Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.sagemaker.IExperimentTrialComponentRef
IExperimentTrialComponentRef.Jsii$Default, IExperimentTrialComponentRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnExperimentTrialComponent(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnExperimentTrialComponent(software.amazon.jsii.JsiiObjectRef objRef) CfnExperimentTrialComponent(software.constructs.Construct scope, String id, CfnExperimentTrialComponentProps props) Create a newAWS::SageMaker::ExperimentTrialComponent. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringThe Amazon Resource Name (ARN) of the trial component.When the component was created.When the component was last modified.The Amazon Resource Name (ARN) of the lineage group.Tag Manager which manages the tags for this resource.The name of the component as displayed.When the component ended.A reference to a ExperimentTrialComponent resource.Metadata properties of the tracking entity, trial, or trial component.When the component started.The status of the trial component.getTags()A list of tags to associate with the component.The name of the trial component.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnExperimentTrialComponent.renderProperties(Map<String, Object> props) voidsetDisplayName(String value) The name of the component as displayed.voidsetEndTime(String value) When the component ended.voidsetMetadataProperties(IResolvable value) Metadata properties of the tracking entity, trial, or trial component.voidMetadata properties of the tracking entity, trial, or trial component.voidsetStartTime(String value) When the component started.voidsetStatus(IResolvable value) The status of the trial component.voidThe status of the trial component.voidA list of tags to associate with the component.voidsetTrialComponentName(String value) The name of the trial component.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, addResourceDependency, addResourceDependency, applyCrossStackReferenceStrength, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, cfnPropertyName, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, removeDependency, removeResourceDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId, withMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNode, withMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnExperimentTrialComponent
protected CfnExperimentTrialComponent(software.amazon.jsii.JsiiObjectRef objRef) -
CfnExperimentTrialComponent
protected CfnExperimentTrialComponent(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnExperimentTrialComponent
@Stability(Stable) public CfnExperimentTrialComponent(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnExperimentTrialComponentProps props) Create a newAWS::SageMaker::ExperimentTrialComponent.- 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.props- Resource properties. This parameter is required.
-
-
Method Details
-
arnForExperimentTrialComponent
@Stability(Stable) @NotNull public static String arnForExperimentTrialComponent(@NotNull IExperimentTrialComponentRef resource) - Parameters:
resource- This parameter is required.
-
isCfnExperimentTrialComponent
Checks whether the given object is a CfnExperimentTrialComponent.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrArn
The Amazon Resource Name (ARN) of the trial component. -
getAttrCreationTime
When the component was created. -
getAttrLastModifiedTime
When the component was last modified. -
getAttrLineageGroupArn
The Amazon Resource Name (ARN) of the lineage group. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getCfnPropertyNames
- Overrides:
getCfnPropertyNamesin classCfnResource
-
getExperimentTrialComponentRef
@Stability(Stable) @NotNull public ExperimentTrialComponentReference getExperimentTrialComponentRef()A reference to a ExperimentTrialComponent resource.- Specified by:
getExperimentTrialComponentRefin interfaceIExperimentTrialComponentRef
-
getTrialComponentName
The name of the trial component. -
setTrialComponentName
The name of the trial component. -
getDisplayName
The name of the component as displayed. -
setDisplayName
The name of the component as displayed. -
getEndTime
When the component ended. -
setEndTime
When the component ended. -
getMetadataProperties
Metadata properties of the tracking entity, trial, or trial component.Returns union: either
IResolvableorCfnExperimentTrialComponent.MetadataPropertiesProperty -
setMetadataProperties
Metadata properties of the tracking entity, trial, or trial component. -
setMetadataProperties
@Stability(Stable) public void setMetadataProperties(@Nullable CfnExperimentTrialComponent.MetadataPropertiesProperty value) Metadata properties of the tracking entity, trial, or trial component. -
getStartTime
When the component started. -
setStartTime
When the component started. -
getStatus
The status of the trial component.Returns union: either
IResolvableorCfnExperimentTrialComponent.StatusProperty -
setStatus
The status of the trial component. -
setStatus
@Stability(Stable) public void setStatus(@Nullable CfnExperimentTrialComponent.StatusProperty value) The status of the trial component. -
getTags
A list of tags to associate with the component. -
setTags
@Stability(Stable) public void setTags(@Nullable List<CfnExperimentTrialComponent.TagsItemsProperty> value) A list of tags to associate with the component.
-