Class CfnArtifactMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnArtifactMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnArtifactMixinProps>
- Enclosing interface:
CfnArtifactMixinProps
@Stability(Stable)
public static final class CfnArtifactMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnArtifactMixinProps>
A builder for
CfnArtifactMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionartifactName(String artifactName) Sets the value ofCfnArtifactMixinProps.getArtifactName()artifactType(String artifactType) Sets the value ofCfnArtifactMixinProps.getArtifactType()build()Builds the configured instance.metadataProperties(CfnArtifactPropsMixin.MetadataPropertiesProperty metadataProperties) Sets the value ofCfnArtifactMixinProps.getMetadataProperties()metadataProperties(IResolvable metadataProperties) Sets the value ofCfnArtifactMixinProps.getMetadataProperties()properties(Map<String, String> properties) Sets the value ofCfnArtifactMixinProps.getProperties()properties(IResolvable properties) Sets the value ofCfnArtifactMixinProps.getProperties()Sets the value ofCfnArtifactMixinProps.getSource()source(IResolvable source) Sets the value ofCfnArtifactMixinProps.getSource()Sets the value ofCfnArtifactMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
artifactName
Sets the value ofCfnArtifactMixinProps.getArtifactName()- Parameters:
artifactName- The name of the artifact. Must be unique to your account in an AWS Region.- Returns:
this
-
artifactType
Sets the value ofCfnArtifactMixinProps.getArtifactType()- Parameters:
artifactType- The artifact type.- Returns:
this
-
metadataProperties
@Stability(Stable) public CfnArtifactMixinProps.Builder metadataProperties(IResolvable metadataProperties) Sets the value ofCfnArtifactMixinProps.getMetadataProperties()- Parameters:
metadataProperties- the value to be set.- Returns:
this
-
metadataProperties
@Stability(Stable) public CfnArtifactMixinProps.Builder metadataProperties(CfnArtifactPropsMixin.MetadataPropertiesProperty metadataProperties) Sets the value ofCfnArtifactMixinProps.getMetadataProperties()- Parameters:
metadataProperties- the value to be set.- Returns:
this
-
properties
Sets the value ofCfnArtifactMixinProps.getProperties()- Parameters:
properties- A list of properties to add to the artifact.- Returns:
this
-
properties
Sets the value ofCfnArtifactMixinProps.getProperties()- Parameters:
properties- A list of properties to add to the artifact.- Returns:
this
-
source
Sets the value ofCfnArtifactMixinProps.getSource()- Parameters:
source- the value to be set.- Returns:
this
-
source
@Stability(Stable) public CfnArtifactMixinProps.Builder source(CfnArtifactPropsMixin.ArtifactSourceProperty source) Sets the value ofCfnArtifactMixinProps.getSource()- Parameters:
source- the value to be set.- Returns:
this
-
tags
Sets the value ofCfnArtifactMixinProps.getTags()- Parameters:
tags- A list of tags to apply to the artifact.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnArtifactMixinProps>- Returns:
- a new instance of
CfnArtifactMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-