@Generated(value="software.amazon.awssdk:codegen") public final class GetModelCustomizationJobResponse extends BedrockResponse implements ToCopyableBuilder<GetModelCustomizationJobResponse.Builder,GetModelCustomizationJobResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetModelCustomizationJobResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
baseModelArn()
ARN of the base model.
|
static GetModelCustomizationJobResponse.Builder |
builder() |
String |
clientRequestToken()
The token that you specified in the CreateCustomizationJob request.
|
Instant |
creationTime()
Time that the resource was created.
|
Instant |
endTime()
Time that the resource transitioned to terminal state.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
failureMessage()
Information about why the job failed.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasHyperParameters()
For responses, this returns true if the service returned a value for the HyperParameters property.
|
boolean |
hasValidationMetrics()
For responses, this returns true if the service returned a value for the ValidationMetrics property.
|
Map<String,String> |
hyperParameters()
The hyperparameter values for the job.
|
String |
jobArn()
The ARN of the customization job.
|
String |
jobName()
The name of the customization job.
|
Instant |
lastModifiedTime()
Time that the resource was last modified.
|
OutputDataConfig |
outputDataConfig()
Output data configuration
|
String |
outputModelArn()
The ARN of the output model.
|
String |
outputModelKmsKeyArn()
The custom model is encrypted at rest using this key.
|
String |
outputModelName()
The name of the output model.
|
String |
roleArn()
The ARN of the IAM role.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetModelCustomizationJobResponse.Builder> |
serializableBuilderClass() |
ModelCustomizationJobStatus |
status()
The status of the job.
|
String |
statusAsString()
The status of the job.
|
GetModelCustomizationJobResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
TrainingDataConfig |
trainingDataConfig()
Returns the value of the TrainingDataConfig property for this object.
|
TrainingMetrics |
trainingMetrics()
Returns the value of the TrainingMetrics property for this object.
|
ValidationDataConfig |
validationDataConfig()
Returns the value of the ValidationDataConfig property for this object.
|
List<ValidatorMetric> |
validationMetrics()
The loss metric for each validator that you provided in the createjob request.
|
VpcConfig |
vpcConfig()
VPC configuration for the custom model job.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String jobArn()
The ARN of the customization job.
public final String jobName()
The name of the customization job.
public final String outputModelName()
The name of the output model.
public final String outputModelArn()
The ARN of the output model.
public final String clientRequestToken()
The token that you specified in the CreateCustomizationJob request.
public final String roleArn()
The ARN of the IAM role.
public final ModelCustomizationJobStatus status()
The status of the job. A successful job transitions from in-progress to completed when the output model is ready to use. If the job failed, the failure message contains information about why the job failed.
If the service returns an enum value that is not available in the current SDK version, status will
return ModelCustomizationJobStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from statusAsString().
ModelCustomizationJobStatuspublic final String statusAsString()
The status of the job. A successful job transitions from in-progress to completed when the output model is ready to use. If the job failed, the failure message contains information about why the job failed.
If the service returns an enum value that is not available in the current SDK version, status will
return ModelCustomizationJobStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from statusAsString().
ModelCustomizationJobStatuspublic final String failureMessage()
Information about why the job failed.
public final Instant creationTime()
Time that the resource was created.
public final Instant lastModifiedTime()
Time that the resource was last modified.
public final Instant endTime()
Time that the resource transitioned to terminal state.
public final String baseModelArn()
ARN of the base model.
public final boolean hasHyperParameters()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final Map<String,String> hyperParameters()
The hyperparameter values for the job.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasHyperParameters() method.
public final TrainingDataConfig trainingDataConfig()
public final ValidationDataConfig validationDataConfig()
public final OutputDataConfig outputDataConfig()
Output data configuration
public final String outputModelKmsKeyArn()
The custom model is encrypted at rest using this key.
public final TrainingMetrics trainingMetrics()
public final boolean hasValidationMetrics()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<ValidatorMetric> validationMetrics()
The loss metric for each validator that you provided in the createjob request.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasValidationMetrics() method.
public final VpcConfig vpcConfig()
VPC configuration for the custom model job.
public GetModelCustomizationJobResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetModelCustomizationJobResponse.Builder,GetModelCustomizationJobResponse>toBuilder in class AwsResponsepublic static GetModelCustomizationJobResponse.Builder builder()
public static Class<? extends GetModelCustomizationJobResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2023. All rights reserved.