Class CfnArtifactPropsMixin.ArtifactSourceProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnArtifactPropsMixin.ArtifactSourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnArtifactPropsMixin.ArtifactSourceProperty>
- Enclosing interface:
CfnArtifactPropsMixin.ArtifactSourceProperty
@Stability(Stable)
public static final class CfnArtifactPropsMixin.ArtifactSourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnArtifactPropsMixin.ArtifactSourceProperty>
A builder for
CfnArtifactPropsMixin.ArtifactSourceProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.sourceTypes(List<? extends Object> sourceTypes) Sets the value ofCfnArtifactPropsMixin.ArtifactSourceProperty.getSourceTypes()sourceTypes(IResolvable sourceTypes) Sets the value ofCfnArtifactPropsMixin.ArtifactSourceProperty.getSourceTypes()Sets the value ofCfnArtifactPropsMixin.ArtifactSourceProperty.getSourceUri()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
sourceTypes
@Stability(Stable) public CfnArtifactPropsMixin.ArtifactSourceProperty.Builder sourceTypes(IResolvable sourceTypes) Sets the value ofCfnArtifactPropsMixin.ArtifactSourceProperty.getSourceTypes()- Parameters:
sourceTypes- A list of source types.- Returns:
this
-
sourceTypes
@Stability(Stable) public CfnArtifactPropsMixin.ArtifactSourceProperty.Builder sourceTypes(List<? extends Object> sourceTypes) Sets the value ofCfnArtifactPropsMixin.ArtifactSourceProperty.getSourceTypes()- Parameters:
sourceTypes- A list of source types.- Returns:
this
-
sourceUri
@Stability(Stable) public CfnArtifactPropsMixin.ArtifactSourceProperty.Builder sourceUri(String sourceUri) Sets the value ofCfnArtifactPropsMixin.ArtifactSourceProperty.getSourceUri()- Parameters:
sourceUri- The URI of the source.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnArtifactPropsMixin.ArtifactSourceProperty>- Returns:
- a new instance of
CfnArtifactPropsMixin.ArtifactSourceProperty - Throws:
NullPointerException- if any required attribute was not provided
-