Interface S3MachineLearningModelResourceData.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<S3MachineLearningModelResourceData.Builder,
,S3MachineLearningModelResourceData> SdkBuilder<S3MachineLearningModelResourceData.Builder,
,S3MachineLearningModelResourceData> SdkPojo
- Enclosing class:
S3MachineLearningModelResourceData
public static interface S3MachineLearningModelResourceData.Builder
extends SdkPojo, CopyableBuilder<S3MachineLearningModelResourceData.Builder,S3MachineLearningModelResourceData>
-
Method Summary
Modifier and TypeMethodDescriptiondestinationPath
(String destinationPath) The absolute local path of the resource inside the Lambda environment.ownerSetting
(Consumer<ResourceDownloadOwnerSetting.Builder> ownerSetting) Sets the value of the OwnerSetting property for this object.ownerSetting
(ResourceDownloadOwnerSetting ownerSetting) Sets the value of the OwnerSetting property for this object.The URI of the source model in an S3 bucket.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
destinationPath
The absolute local path of the resource inside the Lambda environment.- Parameters:
destinationPath
- The absolute local path of the resource inside the Lambda environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ownerSetting
Sets the value of the OwnerSetting property for this object.- Parameters:
ownerSetting
- The new value for the OwnerSetting property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ownerSetting
default S3MachineLearningModelResourceData.Builder ownerSetting(Consumer<ResourceDownloadOwnerSetting.Builder> ownerSetting) Sets the value of the OwnerSetting property for this object. This is a convenience method that creates an instance of theResourceDownloadOwnerSetting.Builder
avoiding the need to create one manually viaResourceDownloadOwnerSetting.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toownerSetting(ResourceDownloadOwnerSetting)
.- Parameters:
ownerSetting
- a consumer that will call methods onResourceDownloadOwnerSetting.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
s3Uri
The URI of the source model in an S3 bucket. The model package must be in tar.gz or .zip format.- Parameters:
s3Uri
- The URI of the source model in an S3 bucket. The model package must be in tar.gz or .zip format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-