Class DescribeAutoMlJobResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.sagemaker.model.SageMakerResponse
-
- software.amazon.awssdk.services.sagemaker.model.DescribeAutoMlJobResponse
-
- All Implemented Interfaces:
SdkPojo
,ToCopyableBuilder<DescribeAutoMlJobResponse.Builder,DescribeAutoMlJobResponse>
@Generated("software.amazon.awssdk:codegen") public final class DescribeAutoMlJobResponse extends SageMakerResponse implements ToCopyableBuilder<DescribeAutoMlJobResponse.Builder,DescribeAutoMlJobResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
DescribeAutoMlJobResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
autoMLJobArn()
Returns the ARN of the AutoML job.AutoMLJobArtifacts
autoMLJobArtifacts()
Returns information on the job's artifacts found inAutoMLJobArtifacts
.AutoMLJobConfig
autoMLJobConfig()
Returns the configuration for the AutoML job.String
autoMLJobName()
Returns the name of the AutoML job.AutoMLJobObjective
autoMLJobObjective()
Returns the job's objective.AutoMLJobSecondaryStatus
autoMLJobSecondaryStatus()
Returns the secondary status of the AutoML job.String
autoMLJobSecondaryStatusAsString()
Returns the secondary status of the AutoML job.AutoMLJobStatus
autoMLJobStatus()
Returns the status of the AutoML job.String
autoMLJobStatusAsString()
Returns the status of the AutoML job.AutoMLCandidate
bestCandidate()
The best model candidate selected by SageMaker AI Autopilot using both the best objective metric and lowest InferenceLatency for an experiment.static DescribeAutoMlJobResponse.Builder
builder()
Instant
creationTime()
Returns the creation time of the AutoML job.Instant
endTime()
Returns the end time of the AutoML job.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
String
failureReason()
Returns the failure reason for an AutoML job, when applicable.Boolean
generateCandidateDefinitionsOnly()
Indicates whether the output for an AutoML job generates candidate definitions only.<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
boolean
hasInputDataConfig()
For responses, this returns true if the service returned a value for the InputDataConfig property.boolean
hasPartialFailureReasons()
For responses, this returns true if the service returned a value for the PartialFailureReasons property.List<AutoMLChannel>
inputDataConfig()
Returns the input data configuration for the AutoML job.Instant
lastModifiedTime()
Returns the job's last modified time.ModelDeployConfig
modelDeployConfig()
Indicates whether the model was deployed automatically to an endpoint and the name of that endpoint if deployed automatically.ModelDeployResult
modelDeployResult()
Provides information about endpoint for the model deployment.AutoMLOutputDataConfig
outputDataConfig()
Returns the job's output data config.List<AutoMLPartialFailureReason>
partialFailureReasons()
Returns a list of reasons for partial failures within an AutoML job.ProblemType
problemType()
Returns the job's problem type.String
problemTypeAsString()
Returns the job's problem type.ResolvedAttributes
resolvedAttributes()
ContainsProblemType
,AutoMLJobObjective
, andCompletionCriteria
.String
roleArn()
The ARN of the IAM role that has read permission to the input data location and write permission to the output data location in Amazon S3.Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
static Class<? extends DescribeAutoMlJobResponse.Builder>
serializableBuilderClass()
DescribeAutoMlJobResponse.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
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 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
-
autoMLJobName
public final String autoMLJobName()
Returns the name of the AutoML job.
- Returns:
- Returns the name of the AutoML job.
-
autoMLJobArn
public final String autoMLJobArn()
Returns the ARN of the AutoML job.
- Returns:
- Returns the ARN of the AutoML job.
-
hasInputDataConfig
public final boolean hasInputDataConfig()
For responses, this returns true if the service returned a value for the InputDataConfig 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.
-
inputDataConfig
public final List<AutoMLChannel> inputDataConfig()
Returns the input data configuration for the AutoML 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
hasInputDataConfig()
method.- Returns:
- Returns the input data configuration for the AutoML job.
-
outputDataConfig
public final AutoMLOutputDataConfig outputDataConfig()
Returns the job's output data config.
- Returns:
- Returns the job's output data config.
-
roleArn
public final String roleArn()
The ARN of the IAM role that has read permission to the input data location and write permission to the output data location in Amazon S3.
- Returns:
- The ARN of the IAM role that has read permission to the input data location and write permission to the output data location in Amazon S3.
-
autoMLJobObjective
public final AutoMLJobObjective autoMLJobObjective()
Returns the job's objective.
- Returns:
- Returns the job's objective.
-
problemType
public final ProblemType problemType()
Returns the job's problem type.
If the service returns an enum value that is not available in the current SDK version,
problemType
will returnProblemType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromproblemTypeAsString()
.- Returns:
- Returns the job's problem type.
- See Also:
ProblemType
-
problemTypeAsString
public final String problemTypeAsString()
Returns the job's problem type.
If the service returns an enum value that is not available in the current SDK version,
problemType
will returnProblemType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromproblemTypeAsString()
.- Returns:
- Returns the job's problem type.
- See Also:
ProblemType
-
autoMLJobConfig
public final AutoMLJobConfig autoMLJobConfig()
Returns the configuration for the AutoML job.
- Returns:
- Returns the configuration for the AutoML job.
-
creationTime
public final Instant creationTime()
Returns the creation time of the AutoML job.
- Returns:
- Returns the creation time of the AutoML job.
-
endTime
public final Instant endTime()
Returns the end time of the AutoML job.
- Returns:
- Returns the end time of the AutoML job.
-
lastModifiedTime
public final Instant lastModifiedTime()
Returns the job's last modified time.
- Returns:
- Returns the job's last modified time.
-
failureReason
public final String failureReason()
Returns the failure reason for an AutoML job, when applicable.
- Returns:
- Returns the failure reason for an AutoML job, when applicable.
-
hasPartialFailureReasons
public final boolean hasPartialFailureReasons()
For responses, this returns true if the service returned a value for the PartialFailureReasons 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.
-
partialFailureReasons
public final List<AutoMLPartialFailureReason> partialFailureReasons()
Returns a list of reasons for partial failures within an AutoML 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
hasPartialFailureReasons()
method.- Returns:
- Returns a list of reasons for partial failures within an AutoML job.
-
bestCandidate
public final AutoMLCandidate bestCandidate()
The best model candidate selected by SageMaker AI Autopilot using both the best objective metric and lowest InferenceLatency for an experiment.
- Returns:
- The best model candidate selected by SageMaker AI Autopilot using both the best objective metric and lowest InferenceLatency for an experiment.
-
autoMLJobStatus
public final AutoMLJobStatus autoMLJobStatus()
Returns the status of the AutoML job.
If the service returns an enum value that is not available in the current SDK version,
autoMLJobStatus
will returnAutoMLJobStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromautoMLJobStatusAsString()
.- Returns:
- Returns the status of the AutoML job.
- See Also:
AutoMLJobStatus
-
autoMLJobStatusAsString
public final String autoMLJobStatusAsString()
Returns the status of the AutoML job.
If the service returns an enum value that is not available in the current SDK version,
autoMLJobStatus
will returnAutoMLJobStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromautoMLJobStatusAsString()
.- Returns:
- Returns the status of the AutoML job.
- See Also:
AutoMLJobStatus
-
autoMLJobSecondaryStatus
public final AutoMLJobSecondaryStatus autoMLJobSecondaryStatus()
Returns the secondary status of the AutoML job.
If the service returns an enum value that is not available in the current SDK version,
autoMLJobSecondaryStatus
will returnAutoMLJobSecondaryStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromautoMLJobSecondaryStatusAsString()
.- Returns:
- Returns the secondary status of the AutoML job.
- See Also:
AutoMLJobSecondaryStatus
-
autoMLJobSecondaryStatusAsString
public final String autoMLJobSecondaryStatusAsString()
Returns the secondary status of the AutoML job.
If the service returns an enum value that is not available in the current SDK version,
autoMLJobSecondaryStatus
will returnAutoMLJobSecondaryStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromautoMLJobSecondaryStatusAsString()
.- Returns:
- Returns the secondary status of the AutoML job.
- See Also:
AutoMLJobSecondaryStatus
-
generateCandidateDefinitionsOnly
public final Boolean generateCandidateDefinitionsOnly()
Indicates whether the output for an AutoML job generates candidate definitions only.
- Returns:
- Indicates whether the output for an AutoML job generates candidate definitions only.
-
autoMLJobArtifacts
public final AutoMLJobArtifacts autoMLJobArtifacts()
Returns information on the job's artifacts found in
AutoMLJobArtifacts
.- Returns:
- Returns information on the job's artifacts found in
AutoMLJobArtifacts
.
-
resolvedAttributes
public final ResolvedAttributes resolvedAttributes()
Contains
ProblemType
,AutoMLJobObjective
, andCompletionCriteria
. If you do not provide these values, they are inferred.- Returns:
- Contains
ProblemType
,AutoMLJobObjective
, andCompletionCriteria
. If you do not provide these values, they are inferred.
-
modelDeployConfig
public final ModelDeployConfig modelDeployConfig()
Indicates whether the model was deployed automatically to an endpoint and the name of that endpoint if deployed automatically.
- Returns:
- Indicates whether the model was deployed automatically to an endpoint and the name of that endpoint if deployed automatically.
-
modelDeployResult
public final ModelDeployResult modelDeployResult()
Provides information about endpoint for the model deployment.
- Returns:
- Provides information about endpoint for the model deployment.
-
toBuilder
public DescribeAutoMlJobResponse.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<DescribeAutoMlJobResponse.Builder,DescribeAutoMlJobResponse>
- Specified by:
toBuilder
in classAwsResponse
-
builder
public static DescribeAutoMlJobResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends DescribeAutoMlJobResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equals
in classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in 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:
getValueForField
in classSdkResponse
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
-
-