@Generated(value="software.amazon.awssdk:codegen") public final class CreateModelPackageRequest extends SageMakerRequest implements ToCopyableBuilder<CreateModelPackageRequest.Builder,CreateModelPackageRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
CreateModelPackageRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static CreateModelPackageRequest.Builder |
builder() |
Boolean |
certifyForMarketplace()
Whether to certify the model package for listing on AWS Marketplace.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
InferenceSpecification |
inferenceSpecification()
Specifies details about inference jobs that can be run with models based on this model package, including the
following:
|
String |
modelPackageDescription()
A description of the model package.
|
String |
modelPackageName()
The name of the model package.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateModelPackageRequest.Builder> |
serializableBuilderClass() |
SourceAlgorithmSpecification |
sourceAlgorithmSpecification()
Details about the algorithm that was used to create the model package.
|
CreateModelPackageRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
ModelPackageValidationSpecification |
validationSpecification()
Specifies configurations for one or more transform jobs that Amazon SageMaker runs to test the model package.
|
overrideConfiguration
copy
public 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).
public String modelPackageDescription()
A description of the model package.
public 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.
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.
public ModelPackageValidationSpecification validationSpecification()
Specifies configurations for one or more transform jobs that Amazon SageMaker runs to test the model package.
public SourceAlgorithmSpecification sourceAlgorithmSpecification()
Details about the algorithm that was used to create the model package.
public Boolean certifyForMarketplace()
Whether to certify the model package for listing on AWS Marketplace.
public CreateModelPackageRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateModelPackageRequest.Builder,CreateModelPackageRequest>
toBuilder
in class SageMakerRequest
public static CreateModelPackageRequest.Builder builder()
public static Class<? extends CreateModelPackageRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.