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