public static final class CfnResourceDefinitionVersion.S3MachineLearningModelResourceDataProperty.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnResourceDefinitionVersion.S3MachineLearningModelResourceDataProperty |
build()
Builds the configured instance.
|
CfnResourceDefinitionVersion.S3MachineLearningModelResourceDataProperty.Builder |
destinationPath(java.lang.String destinationPath)
|
CfnResourceDefinitionVersion.S3MachineLearningModelResourceDataProperty.Builder |
ownerSetting(CfnResourceDefinitionVersion.ResourceDownloadOwnerSettingProperty ownerSetting)
|
CfnResourceDefinitionVersion.S3MachineLearningModelResourceDataProperty.Builder |
ownerSetting(IResolvable ownerSetting)
|
CfnResourceDefinitionVersion.S3MachineLearningModelResourceDataProperty.Builder |
s3Uri(java.lang.String s3Uri)
|
public CfnResourceDefinitionVersion.S3MachineLearningModelResourceDataProperty.Builder destinationPath(java.lang.String destinationPath)
CfnResourceDefinitionVersion.S3MachineLearningModelResourceDataProperty.getDestinationPath()
destinationPath
- The absolute local path of the resource inside the Lambda environment. This parameter is required.this
public CfnResourceDefinitionVersion.S3MachineLearningModelResourceDataProperty.Builder s3Uri(java.lang.String s3Uri)
CfnResourceDefinitionVersion.S3MachineLearningModelResourceDataProperty.getS3Uri()
s3Uri
- The URI of the source model in an Amazon S3 bucket. This parameter is required.
The model package must be in tar.gz
or .zip
format.this
public CfnResourceDefinitionVersion.S3MachineLearningModelResourceDataProperty.Builder ownerSetting(IResolvable ownerSetting)
CfnResourceDefinitionVersion.S3MachineLearningModelResourceDataProperty.getOwnerSetting()
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 .this
public CfnResourceDefinitionVersion.S3MachineLearningModelResourceDataProperty.Builder ownerSetting(CfnResourceDefinitionVersion.ResourceDownloadOwnerSettingProperty ownerSetting)
CfnResourceDefinitionVersion.S3MachineLearningModelResourceDataProperty.getOwnerSetting()
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 .this
public CfnResourceDefinitionVersion.S3MachineLearningModelResourceDataProperty build()
CfnResourceDefinitionVersion.S3MachineLearningModelResourceDataProperty
java.lang.NullPointerException
- if any required attribute was not provided