@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) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
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() |
String |
toString()
Returns a string representation of this object.
|
ModelPackageValidationSpecification |
validationSpecification()
Specifies configurations for one or more transform jobs that Amazon SageMaker runs to test the model package.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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()
toBuilder in interface ToCopyableBuilder<CreateModelPackageRequest.Builder,CreateModelPackageRequest>toBuilder in class SageMakerRequestpublic static CreateModelPackageRequest.Builder builder()
public static Class<? extends CreateModelPackageRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.