Class CfnArtifact.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnArtifact.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnArtifact>
- Enclosing class:
CfnArtifact
@Stability(Stable)
public static final class CfnArtifact.Builder
extends Object
implements software.amazon.jsii.Builder<CfnArtifact>
A fluent builder for
CfnArtifact.-
Method Summary
Modifier and TypeMethodDescriptionartifactName(String artifactName) The name of the artifact.artifactType(String artifactType) The artifact type.build()static CfnArtifact.BuildermetadataProperties(IResolvable metadataProperties) metadataProperties(CfnArtifact.MetadataPropertiesProperty metadataProperties) properties(Map<String, String> properties) A list of properties to add to the artifact.properties(IResolvable properties) A list of properties to add to the artifact.source(IResolvable source) A list of tags to apply to the artifact.
-
Method Details
-
create
@Stability(Stable) public static CfnArtifact.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
CfnArtifact.Builder.
-
artifactType
The artifact type.- Parameters:
artifactType- The artifact type. This parameter is required.- Returns:
this- See Also:
-
source
- Parameters:
source- This parameter is required.- Returns:
this- See Also:
-
source
- Parameters:
source- This parameter is required.- Returns:
this- See Also:
-
artifactName
The name of the artifact.Must be unique to your account in an AWS Region.
- Parameters:
artifactName- The name of the artifact. This parameter is required.- Returns:
this- See Also:
-
metadataProperties
- Parameters:
metadataProperties- This parameter is required.- Returns:
this- See Also:
-
metadataProperties
@Stability(Stable) public CfnArtifact.Builder metadataProperties(CfnArtifact.MetadataPropertiesProperty metadataProperties) - Parameters:
metadataProperties- This parameter is required.- Returns:
this- See Also:
-
properties
A list of properties to add to the artifact.- Parameters:
properties- A list of properties to add to the artifact. This parameter is required.- Returns:
this- See Also:
-
properties
A list of properties to add to the artifact.- Parameters:
properties- A list of properties to add to the artifact. This parameter is required.- Returns:
this- See Also:
-
tags
A list of tags to apply to the artifact.- Parameters:
tags- A list of tags to apply to the artifact. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnArtifact>- Returns:
- a newly built instance of
CfnArtifact.
-