Interface SourceAlgorithm.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<SourceAlgorithm.Builder,SourceAlgorithm>
,SdkBuilder<SourceAlgorithm.Builder,SourceAlgorithm>
,SdkPojo
- Enclosing class:
- SourceAlgorithm
public static interface SourceAlgorithm.Builder extends SdkPojo, CopyableBuilder<SourceAlgorithm.Builder,SourceAlgorithm>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description SourceAlgorithm.Builder
algorithmName(String algorithmName)
The name of an algorithm that was used to create the model package.SourceAlgorithm.Builder
modelDataETag(String modelDataETag)
The ETag associated with Model Data URL.default SourceAlgorithm.Builder
modelDataSource(Consumer<ModelDataSource.Builder> modelDataSource)
Specifies the location of ML model data to deploy during endpoint creation.SourceAlgorithm.Builder
modelDataSource(ModelDataSource modelDataSource)
Specifies the location of ML model data to deploy during endpoint creation.SourceAlgorithm.Builder
modelDataUrl(String modelDataUrl)
The Amazon S3 path where the model artifacts, which result from model training, are stored.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
modelDataUrl
SourceAlgorithm.Builder modelDataUrl(String modelDataUrl)
The Amazon S3 path where the model artifacts, which result from model training, are stored. This path must point to a single
gzip
compressed tar archive (.tar.gz
suffix).The model artifacts must be in an S3 bucket that is in the same Amazon Web Services region as the algorithm.
- Parameters:
modelDataUrl
- The Amazon S3 path where the model artifacts, which result from model training, are stored. This path must point to a singlegzip
compressed tar archive (.tar.gz
suffix).The model artifacts must be in an S3 bucket that is in the same Amazon Web Services region as the algorithm.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelDataSource
SourceAlgorithm.Builder modelDataSource(ModelDataSource modelDataSource)
Specifies the location of ML model data to deploy during endpoint creation.
- Parameters:
modelDataSource
- Specifies the location of ML model data to deploy during endpoint creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelDataSource
default SourceAlgorithm.Builder modelDataSource(Consumer<ModelDataSource.Builder> modelDataSource)
Specifies the location of ML model data to deploy during endpoint creation.
This is a convenience method that creates an instance of theModelDataSource.Builder
avoiding the need to create one manually viaModelDataSource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomodelDataSource(ModelDataSource)
.- Parameters:
modelDataSource
- a consumer that will call methods onModelDataSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
modelDataSource(ModelDataSource)
-
modelDataETag
SourceAlgorithm.Builder modelDataETag(String modelDataETag)
The ETag associated with Model Data URL.
- Parameters:
modelDataETag
- The ETag associated with Model Data URL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
algorithmName
SourceAlgorithm.Builder algorithmName(String algorithmName)
The name of an algorithm that was used to create the model package. The algorithm must be either an algorithm resource in your SageMaker account or an algorithm in Amazon Web Services Marketplace that you are subscribed to.
- Parameters:
algorithmName
- The name of an algorithm that was used to create the model package. The algorithm must be either an algorithm resource in your SageMaker account or an algorithm in Amazon Web Services Marketplace that you are subscribed to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-