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