Class CfnTrialComponentPropsMixin.TrialComponentArtifactProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnTrialComponentPropsMixin.TrialComponentArtifactProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTrialComponentPropsMixin.TrialComponentArtifactProperty>
- Enclosing interface:
CfnTrialComponentPropsMixin.TrialComponentArtifactProperty
@Stability(Stable)
public static final class CfnTrialComponentPropsMixin.TrialComponentArtifactProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTrialComponentPropsMixin.TrialComponentArtifactProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnTrialComponentPropsMixin.TrialComponentArtifactProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
mediaType
@Stability(Stable) public CfnTrialComponentPropsMixin.TrialComponentArtifactProperty.Builder mediaType(String mediaType) - Parameters:
mediaType- The media type of the artifact.- Returns:
this
-
value
@Stability(Stable) public CfnTrialComponentPropsMixin.TrialComponentArtifactProperty.Builder value(String value) Sets the value ofCfnTrialComponentPropsMixin.TrialComponentArtifactProperty.getValue()- Parameters:
value- The location of the artifact.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTrialComponentPropsMixin.TrialComponentArtifactProperty>- Returns:
- a new instance of
CfnTrialComponentPropsMixin.TrialComponentArtifactProperty - Throws:
NullPointerException- if any required attribute was not provided
-