public static interface CreateModelPackageRequest.Builder extends SageMakerRequest.Builder, SdkPojo, CopyableBuilder<CreateModelPackageRequest.Builder,CreateModelPackageRequest>
Modifier and Type | Method and Description |
---|---|
CreateModelPackageRequest.Builder |
certifyForMarketplace(Boolean certifyForMarketplace)
Whether to certify the model package for listing on AWS Marketplace.
|
default CreateModelPackageRequest.Builder |
inferenceSpecification(Consumer<InferenceSpecification.Builder> inferenceSpecification)
Specifies details about inference jobs that can be run with models based on this model package, including the
following:
|
CreateModelPackageRequest.Builder |
inferenceSpecification(InferenceSpecification inferenceSpecification)
Specifies details about inference jobs that can be run with models based on this model package, including the
following:
|
CreateModelPackageRequest.Builder |
modelPackageDescription(String modelPackageDescription)
A description of the model package.
|
CreateModelPackageRequest.Builder |
modelPackageName(String modelPackageName)
The name of the model package.
|
CreateModelPackageRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateModelPackageRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
default CreateModelPackageRequest.Builder |
sourceAlgorithmSpecification(Consumer<SourceAlgorithmSpecification.Builder> sourceAlgorithmSpecification)
Details about the algorithm that was used to create the model package.
|
CreateModelPackageRequest.Builder |
sourceAlgorithmSpecification(SourceAlgorithmSpecification sourceAlgorithmSpecification)
Details about the algorithm that was used to create the model package.
|
default CreateModelPackageRequest.Builder |
validationSpecification(Consumer<ModelPackageValidationSpecification.Builder> validationSpecification)
Specifies configurations for one or more transform jobs that Amazon SageMaker runs to test the model package.
|
CreateModelPackageRequest.Builder |
validationSpecification(ModelPackageValidationSpecification validationSpecification)
Specifies configurations for one or more transform jobs that Amazon SageMaker runs to test the model package.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
CreateModelPackageRequest.Builder modelPackageName(String modelPackageName)
The name of the model package. The name must have 1 to 63 characters. Valid characters are a-z, A-Z, 0-9, and - (hyphen).
modelPackageName
- The name of the model package. The name must have 1 to 63 characters. Valid characters are a-z, A-Z,
0-9, and - (hyphen).CreateModelPackageRequest.Builder modelPackageDescription(String modelPackageDescription)
A description of the model package.
modelPackageDescription
- A description of the model package.CreateModelPackageRequest.Builder inferenceSpecification(InferenceSpecification inferenceSpecification)
Specifies details about inference jobs that can be run with models based on this model package, including the following:
The Amazon ECR paths of containers that contain the inference code and model artifacts.
The instance types that the model package supports for transform jobs and real-time endpoints used for inference.
The input and output content formats that the model package supports for inference.
inferenceSpecification
- Specifies details about inference jobs that can be run with models based on this model package,
including the following:
The Amazon ECR paths of containers that contain the inference code and model artifacts.
The instance types that the model package supports for transform jobs and real-time endpoints used for inference.
The input and output content formats that the model package supports for inference.
default CreateModelPackageRequest.Builder inferenceSpecification(Consumer<InferenceSpecification.Builder> inferenceSpecification)
Specifies details about inference jobs that can be run with models based on this model package, including the following:
The Amazon ECR paths of containers that contain the inference code and model artifacts.
The instance types that the model package supports for transform jobs and real-time endpoints used for inference.
The input and output content formats that the model package supports for inference.
InferenceSpecification.Builder
avoiding the
need to create one manually via InferenceSpecification.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to inferenceSpecification(InferenceSpecification)
.inferenceSpecification
- a consumer that will call methods on InferenceSpecification.Builder
inferenceSpecification(InferenceSpecification)
CreateModelPackageRequest.Builder validationSpecification(ModelPackageValidationSpecification validationSpecification)
Specifies configurations for one or more transform jobs that Amazon SageMaker runs to test the model package.
validationSpecification
- Specifies configurations for one or more transform jobs that Amazon SageMaker runs to test the model
package.default CreateModelPackageRequest.Builder validationSpecification(Consumer<ModelPackageValidationSpecification.Builder> validationSpecification)
Specifies configurations for one or more transform jobs that Amazon SageMaker runs to test the model package.
This is a convenience that creates an instance of theModelPackageValidationSpecification.Builder
avoiding the need to create one manually via ModelPackageValidationSpecification.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to validationSpecification(ModelPackageValidationSpecification)
.validationSpecification
- a consumer that will call methods on ModelPackageValidationSpecification.Builder
validationSpecification(ModelPackageValidationSpecification)
CreateModelPackageRequest.Builder sourceAlgorithmSpecification(SourceAlgorithmSpecification sourceAlgorithmSpecification)
Details about the algorithm that was used to create the model package.
sourceAlgorithmSpecification
- Details about the algorithm that was used to create the model package.default CreateModelPackageRequest.Builder sourceAlgorithmSpecification(Consumer<SourceAlgorithmSpecification.Builder> sourceAlgorithmSpecification)
Details about the algorithm that was used to create the model package.
This is a convenience that creates an instance of theSourceAlgorithmSpecification.Builder
avoiding
the need to create one manually via SourceAlgorithmSpecification.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to sourceAlgorithmSpecification(SourceAlgorithmSpecification)
.sourceAlgorithmSpecification
- a consumer that will call methods on SourceAlgorithmSpecification.Builder
sourceAlgorithmSpecification(SourceAlgorithmSpecification)
CreateModelPackageRequest.Builder certifyForMarketplace(Boolean certifyForMarketplace)
Whether to certify the model package for listing on AWS Marketplace.
certifyForMarketplace
- Whether to certify the model package for listing on AWS Marketplace.CreateModelPackageRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
CreateModelPackageRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2020. All rights reserved.