Class CfnResourceDefinition.SageMakerMachineLearningModelResourceDataProperty.Builder
java.lang.Object
software.amazon.awscdk.services.greengrass.CfnResourceDefinition.SageMakerMachineLearningModelResourceDataProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnResourceDefinition.SageMakerMachineLearningModelResourceDataProperty>
- Enclosing interface:
CfnResourceDefinition.SageMakerMachineLearningModelResourceDataProperty
@Stability(Stable)
public static final class CfnResourceDefinition.SageMakerMachineLearningModelResourceDataProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnResourceDefinition.SageMakerMachineLearningModelResourceDataProperty>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.destinationPath
(String destinationPath) ownerSetting
(IResolvable ownerSetting) sageMakerJobArn
(String sageMakerJobArn)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
destinationPath
@Stability(Stable) public CfnResourceDefinition.SageMakerMachineLearningModelResourceDataProperty.Builder destinationPath(String destinationPath) Sets the value ofCfnResourceDefinition.SageMakerMachineLearningModelResourceDataProperty.getDestinationPath()
- Parameters:
destinationPath
- The absolute local path of the resource inside the Lambda environment. This parameter is required.- Returns:
this
-
sageMakerJobArn
@Stability(Stable) public CfnResourceDefinition.SageMakerMachineLearningModelResourceDataProperty.Builder sageMakerJobArn(String sageMakerJobArn) Sets the value ofCfnResourceDefinition.SageMakerMachineLearningModelResourceDataProperty.getSageMakerJobArn()
- Parameters:
sageMakerJobArn
- The Amazon Resource Name (ARN) of the Amazon SageMaker training job that represents the source model. This parameter is required.- Returns:
this
-
ownerSetting
@Stability(Stable) public CfnResourceDefinition.SageMakerMachineLearningModelResourceDataProperty.Builder ownerSetting(IResolvable ownerSetting) Sets the value ofCfnResourceDefinition.SageMakerMachineLearningModelResourceDataProperty.getOwnerSetting()
- Parameters:
ownerSetting
- The owner setting for the downloaded machine learning resource. For more information, see Access Machine Learning Resources from Lambda Functions in the Developer Guide .- Returns:
this
-
ownerSetting
@Stability(Stable) public CfnResourceDefinition.SageMakerMachineLearningModelResourceDataProperty.Builder ownerSetting(CfnResourceDefinition.ResourceDownloadOwnerSettingProperty ownerSetting) Sets the value ofCfnResourceDefinition.SageMakerMachineLearningModelResourceDataProperty.getOwnerSetting()
- Parameters:
ownerSetting
- The owner setting for the downloaded machine learning resource. For more information, see Access Machine Learning Resources from Lambda Functions in the Developer Guide .- Returns:
this
-
build
@Stability(Stable) public CfnResourceDefinition.SageMakerMachineLearningModelResourceDataProperty build()Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnResourceDefinition.SageMakerMachineLearningModelResourceDataProperty>
- Returns:
- a new instance of
CfnResourceDefinition.SageMakerMachineLearningModelResourceDataProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-