Class GetEvaluationJobResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.bedrock.model.BedrockResponse
-
- software.amazon.awssdk.services.bedrock.model.GetEvaluationJobResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetEvaluationJobResponse.Builder,GetEvaluationJobResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetEvaluationJobResponse extends BedrockResponse implements ToCopyableBuilder<GetEvaluationJobResponse.Builder,GetEvaluationJobResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetEvaluationJobResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetEvaluationJobResponse.Builderbuilder()InstantcreationTime()When the model evaluation job was created.StringcustomerEncryptionKeyId()The Amazon Resource Name (ARN) of the customer managed key specified when the model evaluation job was created.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)EvaluationConfigevaluationConfig()Contains details about the type of model evaluation job, the metrics used, the task type selected, the datasets used, and any custom metrics you defined.List<String>failureMessages()An array of strings the specify why the model evaluation job has failed.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)booleanhasFailureMessages()For responses, this returns true if the service returned a value for the FailureMessages property.inthashCode()EvaluationInferenceConfiginferenceConfig()Details about the models you specified in your model evaluation job.StringjobArn()The Amazon Resource Name (ARN) of the model evaluation job.StringjobDescription()The description of the model evaluation job.StringjobName()The name of the model evaluation job.EvaluationJobTypejobType()The type of model evaluation job.StringjobTypeAsString()The type of model evaluation job.InstantlastModifiedTime()When the model evaluation job was last modified.EvaluationOutputDataConfigoutputDataConfig()Amazon S3 location for where output data is saved.StringroleArn()The Amazon Resource Name (ARN) of the IAM service role used in the model evaluation job.List<SdkField<?>>sdkFields()static Class<? extends GetEvaluationJobResponse.Builder>serializableBuilderClass()EvaluationJobStatusstatus()The status of the model evaluation job.StringstatusAsString()The status of the model evaluation job.GetEvaluationJobResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.bedrock.model.BedrockResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
jobName
public final String jobName()
The name of the model evaluation job.
- Returns:
- The name of the model evaluation job.
-
status
public final EvaluationJobStatus status()
The status of the model evaluation job.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnEvaluationJobStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the model evaluation job.
- See Also:
EvaluationJobStatus
-
statusAsString
public final String statusAsString()
The status of the model evaluation job.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnEvaluationJobStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the model evaluation job.
- See Also:
EvaluationJobStatus
-
jobArn
public final String jobArn()
The Amazon Resource Name (ARN) of the model evaluation job.
- Returns:
- The Amazon Resource Name (ARN) of the model evaluation job.
-
jobDescription
public final String jobDescription()
The description of the model evaluation job.
- Returns:
- The description of the model evaluation job.
-
roleArn
public final String roleArn()
The Amazon Resource Name (ARN) of the IAM service role used in the model evaluation job.
- Returns:
- The Amazon Resource Name (ARN) of the IAM service role used in the model evaluation job.
-
customerEncryptionKeyId
public final String customerEncryptionKeyId()
The Amazon Resource Name (ARN) of the customer managed key specified when the model evaluation job was created.
- Returns:
- The Amazon Resource Name (ARN) of the customer managed key specified when the model evaluation job was created.
-
jobType
public final EvaluationJobType jobType()
The type of model evaluation job.
If the service returns an enum value that is not available in the current SDK version,
jobTypewill returnEvaluationJobType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromjobTypeAsString().- Returns:
- The type of model evaluation job.
- See Also:
EvaluationJobType
-
jobTypeAsString
public final String jobTypeAsString()
The type of model evaluation job.
If the service returns an enum value that is not available in the current SDK version,
jobTypewill returnEvaluationJobType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromjobTypeAsString().- Returns:
- The type of model evaluation job.
- See Also:
EvaluationJobType
-
evaluationConfig
public final EvaluationConfig evaluationConfig()
Contains details about the type of model evaluation job, the metrics used, the task type selected, the datasets used, and any custom metrics you defined.
- Returns:
- Contains details about the type of model evaluation job, the metrics used, the task type selected, the datasets used, and any custom metrics you defined.
-
inferenceConfig
public final EvaluationInferenceConfig inferenceConfig()
Details about the models you specified in your model evaluation job.
- Returns:
- Details about the models you specified in your model evaluation job.
-
outputDataConfig
public final EvaluationOutputDataConfig outputDataConfig()
Amazon S3 location for where output data is saved.
- Returns:
- Amazon S3 location for where output data is saved.
-
creationTime
public final Instant creationTime()
When the model evaluation job was created.
- Returns:
- When the model evaluation job was created.
-
lastModifiedTime
public final Instant lastModifiedTime()
When the model evaluation job was last modified.
- Returns:
- When the model evaluation job was last modified.
-
hasFailureMessages
public final boolean hasFailureMessages()
For responses, this returns true if the service returned a value for the FailureMessages property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()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.
-
failureMessages
public final List<String> failureMessages()
An array of strings the specify why the model evaluation job has failed.
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
hasFailureMessages()method.- Returns:
- An array of strings the specify why the model evaluation job has failed.
-
toBuilder
public GetEvaluationJobResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetEvaluationJobResponse.Builder,GetEvaluationJobResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetEvaluationJobResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetEvaluationJobResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
-