@Generated(value="software.amazon.awssdk:codegen") public final class DescribeModelPackageResponse extends SageMakerResponse implements ToCopyableBuilder<DescribeModelPackageResponse.Builder,DescribeModelPackageResponse>
Modifier and Type | Class and Description |
---|---|
static interface |
DescribeModelPackageResponse.Builder |
Modifier and Type | Method and Description |
---|---|
static DescribeModelPackageResponse.Builder |
builder() |
Boolean |
certifyForMarketplace()
Whether the model package is certified for listing on AWS Marketplace.
|
Instant |
creationTime()
A timestamp specifying when the model package was created.
|
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
SdkResponse . |
int |
hashCode() |
InferenceSpecification |
inferenceSpecification()
Details about inference jobs that can be run with models based on this model package.
|
String |
modelPackageArn()
The Amazon Resource Name (ARN) of the model package.
|
String |
modelPackageDescription()
A brief summary about the model package.
|
String |
modelPackageName()
The name of the model package being described.
|
ModelPackageStatus |
modelPackageStatus()
The current status of the model package.
|
String |
modelPackageStatusAsString()
The current status of the model package.
|
ModelPackageStatusDetails |
modelPackageStatusDetails()
Details about the current status of the model package.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeModelPackageResponse.Builder> |
serializableBuilderClass() |
SourceAlgorithmSpecification |
sourceAlgorithmSpecification()
Details about the algorithm that was used to create the model package.
|
DescribeModelPackageResponse.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
ModelPackageValidationSpecification |
validationSpecification()
Configurations for one or more transform jobs that Amazon SageMaker runs to test the model package.
|
responseMetadata
sdkHttpResponse
copy
public String modelPackageName()
The name of the model package being described.
public String modelPackageArn()
The Amazon Resource Name (ARN) of the model package.
public String modelPackageDescription()
A brief summary about the model package.
public Instant creationTime()
A timestamp specifying when the model package was created.
public InferenceSpecification inferenceSpecification()
Details about inference jobs that can be run with models based on this model package.
public SourceAlgorithmSpecification sourceAlgorithmSpecification()
Details about the algorithm that was used to create the model package.
public ModelPackageValidationSpecification validationSpecification()
Configurations for one or more transform jobs that Amazon SageMaker runs to test the model package.
public ModelPackageStatus modelPackageStatus()
The current status of the model package.
If the service returns an enum value that is not available in the current SDK version,
modelPackageStatus
will return ModelPackageStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned
by the service is available from modelPackageStatusAsString()
.
ModelPackageStatus
public String modelPackageStatusAsString()
The current status of the model package.
If the service returns an enum value that is not available in the current SDK version,
modelPackageStatus
will return ModelPackageStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned
by the service is available from modelPackageStatusAsString()
.
ModelPackageStatus
public ModelPackageStatusDetails modelPackageStatusDetails()
Details about the current status of the model package.
public Boolean certifyForMarketplace()
Whether the model package is certified for listing on AWS Marketplace.
public DescribeModelPackageResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DescribeModelPackageResponse.Builder,DescribeModelPackageResponse>
toBuilder
in class AwsResponse
public static DescribeModelPackageResponse.Builder builder()
public static Class<? extends DescribeModelPackageResponse.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkResponse
SdkResponse
. 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 SdkResponse.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkResponse
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.