Class DescribeCompilationJobResponse
- All Implemented Interfaces:
SdkPojo
,ToCopyableBuilder<DescribeCompilationJobResponse.Builder,
DescribeCompilationJobResponse>
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
final Instant
The time when the model compilation job on a compilation job instance ended.final String
The Amazon Resource Name (ARN) of the model compilation job.final String
The name of the model compilation job.final CompilationJobStatus
The status of the model compilation job.final String
The status of the model compilation job.final Instant
The time when the model compilation job started theCompilationJob
instances.final Instant
The time that the model compilation job was created.final DerivedInformation
Information that SageMaker Neo automatically derived about the model.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final String
If a model compilation job failed, the reason it failed.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) Used to retrieve the value of a field from any class that extendsSdkResponse
.final int
hashCode()
final String
The inference image to use when compiling a model.final InputConfig
Information about the location in Amazon S3 of the input model artifacts, the name and shape of the expected data inputs, and the framework in which the model was trained.final Instant
The time that the status of the model compilation job was last modified.final ModelArtifacts
Information about the location in Amazon S3 that has been configured for storing the model artifacts used in the compilation job.final ModelDigests
Provides a BLAKE2 hash value that identifies the compiled model artifacts in Amazon S3.final String
The Amazon Resource Name (ARN) of the versioned model package that was provided to SageMaker Neo when you initiated a compilation job.final OutputConfig
Information about the output location for the compiled model and the target device that the model runs on.final String
roleArn()
The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker assumes to perform the model compilation job.static Class
<? extends DescribeCompilationJobResponse.Builder> final StoppingCondition
Specifies a limit to how long a model compilation job can run.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.final NeoVpcConfig
A VpcConfig object that specifies the VPC that you want your compilation job to connect to.Methods inherited from class software.amazon.awssdk.services.sagemaker.model.SageMakerResponse
responseMetadata
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
compilationJobName
The name of the model compilation job.
- Returns:
- The name of the model compilation job.
-
compilationJobArn
The Amazon Resource Name (ARN) of the model compilation job.
- Returns:
- The Amazon Resource Name (ARN) of the model compilation job.
-
compilationJobStatus
The status of the model compilation job.
If the service returns an enum value that is not available in the current SDK version,
compilationJobStatus
will returnCompilationJobStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromcompilationJobStatusAsString()
.- Returns:
- The status of the model compilation job.
- See Also:
-
compilationJobStatusAsString
The status of the model compilation job.
If the service returns an enum value that is not available in the current SDK version,
compilationJobStatus
will returnCompilationJobStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromcompilationJobStatusAsString()
.- Returns:
- The status of the model compilation job.
- See Also:
-
compilationStartTime
The time when the model compilation job started the
CompilationJob
instances.You are billed for the time between this timestamp and the timestamp in the
CompilationEndTime
field. In Amazon CloudWatch Logs, the start time might be later than this time. That's because it takes time to download the compilation job, which depends on the size of the compilation job container.- Returns:
- The time when the model compilation job started the
CompilationJob
instances.You are billed for the time between this timestamp and the timestamp in the
CompilationEndTime
field. In Amazon CloudWatch Logs, the start time might be later than this time. That's because it takes time to download the compilation job, which depends on the size of the compilation job container.
-
compilationEndTime
The time when the model compilation job on a compilation job instance ended. For a successful or stopped job, this is when the job's model artifacts have finished uploading. For a failed job, this is when Amazon SageMaker detected that the job failed.
- Returns:
- The time when the model compilation job on a compilation job instance ended. For a successful or stopped job, this is when the job's model artifacts have finished uploading. For a failed job, this is when Amazon SageMaker detected that the job failed.
-
stoppingCondition
Specifies a limit to how long a model compilation job can run. When the job reaches the time limit, Amazon SageMaker ends the compilation job. Use this API to cap model training costs.
- Returns:
- Specifies a limit to how long a model compilation job can run. When the job reaches the time limit, Amazon SageMaker ends the compilation job. Use this API to cap model training costs.
-
inferenceImage
The inference image to use when compiling a model. Specify an image only if the target device is a cloud instance.
- Returns:
- The inference image to use when compiling a model. Specify an image only if the target device is a cloud instance.
-
modelPackageVersionArn
The Amazon Resource Name (ARN) of the versioned model package that was provided to SageMaker Neo when you initiated a compilation job.
- Returns:
- The Amazon Resource Name (ARN) of the versioned model package that was provided to SageMaker Neo when you initiated a compilation job.
-
creationTime
The time that the model compilation job was created.
- Returns:
- The time that the model compilation job was created.
-
lastModifiedTime
The time that the status of the model compilation job was last modified.
- Returns:
- The time that the status of the model compilation job was last modified.
-
failureReason
If a model compilation job failed, the reason it failed.
- Returns:
- If a model compilation job failed, the reason it failed.
-
modelArtifacts
Information about the location in Amazon S3 that has been configured for storing the model artifacts used in the compilation job.
- Returns:
- Information about the location in Amazon S3 that has been configured for storing the model artifacts used in the compilation job.
-
modelDigests
Provides a BLAKE2 hash value that identifies the compiled model artifacts in Amazon S3.
- Returns:
- Provides a BLAKE2 hash value that identifies the compiled model artifacts in Amazon S3.
-
roleArn
The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker assumes to perform the model compilation job.
- Returns:
- The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker assumes to perform the model compilation job.
-
inputConfig
Information about the location in Amazon S3 of the input model artifacts, the name and shape of the expected data inputs, and the framework in which the model was trained.
- Returns:
- Information about the location in Amazon S3 of the input model artifacts, the name and shape of the expected data inputs, and the framework in which the model was trained.
-
outputConfig
Information about the output location for the compiled model and the target device that the model runs on.
- Returns:
- Information about the output location for the compiled model and the target device that the model runs on.
-
vpcConfig
A VpcConfig object that specifies the VPC that you want your compilation job to connect to. Control access to your models by configuring the VPC. For more information, see Protect Compilation Jobs by Using an Amazon Virtual Private Cloud.
- Returns:
- A VpcConfig object that specifies the VPC that you want your compilation job to connect to. Control access to your models by configuring the VPC. For more information, see Protect Compilation Jobs by Using an Amazon Virtual Private Cloud.
-
derivedInformation
Information that SageMaker Neo automatically derived about the model.
- Returns:
- Information that SageMaker Neo automatically derived about the model.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<DescribeCompilationJobResponse.Builder,
DescribeCompilationJobResponse> - Specified by:
toBuilder
in classAwsResponse
- Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode()- Overrides:
hashCode
in classAwsResponse
-
equals
- Overrides:
equals
in classAwsResponse
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
Description copied from class:SdkResponse
Used to retrieve the value of a field from any class that extendsSdkResponse
. 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, theSdkResponse.getValueForField(String, Class)
method will again be available.- Overrides:
getValueForField
in classSdkResponse
- Parameters:
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.- Returns:
- Optional containing the casted return value
-
sdkFields
-