Class CfnResourceDefinitionVersion.S3MachineLearningModelResourceDataProperty.Builder
java.lang.Object
software.amazon.awscdk.services.greengrass.CfnResourceDefinitionVersion.S3MachineLearningModelResourceDataProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnResourceDefinitionVersion.S3MachineLearningModelResourceDataProperty>
- Enclosing interface:
- CfnResourceDefinitionVersion.S3MachineLearningModelResourceDataProperty
@Stability(Stable)
public static final class CfnResourceDefinitionVersion.S3MachineLearningModelResourceDataProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnResourceDefinitionVersion.S3MachineLearningModelResourceDataProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.destinationPath(String destinationPath) ownerSetting(IResolvable ownerSetting)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
destinationPath
@Stability(Stable) public CfnResourceDefinitionVersion.S3MachineLearningModelResourceDataProperty.Builder destinationPath(String destinationPath) Sets the value ofCfnResourceDefinitionVersion.S3MachineLearningModelResourceDataProperty.getDestinationPath()- Parameters:
destinationPath- The absolute local path of the resource inside the Lambda environment. This parameter is required.- Returns:
this
-
s3Uri
@Stability(Stable) public CfnResourceDefinitionVersion.S3MachineLearningModelResourceDataProperty.Builder s3Uri(String s3Uri) Sets the value ofCfnResourceDefinitionVersion.S3MachineLearningModelResourceDataProperty.getS3Uri()- Parameters:
s3Uri- The URI of the source model in an Amazon S3 bucket. This parameter is required. The model package must be intar.gzor.zipformat.- Returns:
this
-
ownerSetting
@Stability(Stable) public CfnResourceDefinitionVersion.S3MachineLearningModelResourceDataProperty.Builder ownerSetting(IResolvable ownerSetting) Sets the value ofCfnResourceDefinitionVersion.S3MachineLearningModelResourceDataProperty.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 CfnResourceDefinitionVersion.S3MachineLearningModelResourceDataProperty.Builder ownerSetting(CfnResourceDefinitionVersion.ResourceDownloadOwnerSettingProperty ownerSetting) Sets the value ofCfnResourceDefinitionVersion.S3MachineLearningModelResourceDataProperty.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 CfnResourceDefinitionVersion.S3MachineLearningModelResourceDataProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnResourceDefinitionVersion.S3MachineLearningModelResourceDataProperty>- Returns:
- a new instance of
CfnResourceDefinitionVersion.S3MachineLearningModelResourceDataProperty - Throws:
NullPointerException- if any required attribute was not provided
-