Class GetMlTaskRunResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.glue.model.GlueResponse
-
- software.amazon.awssdk.services.glue.model.GetMlTaskRunResponse
-
- All Implemented Interfaces:
SdkPojo
,ToCopyableBuilder<GetMlTaskRunResponse.Builder,GetMlTaskRunResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetMlTaskRunResponse extends GlueResponse implements ToCopyableBuilder<GetMlTaskRunResponse.Builder,GetMlTaskRunResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
GetMlTaskRunResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetMlTaskRunResponse.Builder
builder()
Instant
completedOn()
The date and time when this task run was completed.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
String
errorString()
The error strings that are associated with the task run.Integer
executionTime()
The amount of time (in seconds) that the task run consumed resources.<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
Instant
lastModifiedOn()
The date and time when this task run was last modified.String
logGroupName()
The names of the log groups that are associated with the task run.TaskRunProperties
properties()
The list of properties that are associated with the task run.List<SdkField<?>>
sdkFields()
static Class<? extends GetMlTaskRunResponse.Builder>
serializableBuilderClass()
Instant
startedOn()
The date and time when this task run started.TaskStatusType
status()
The status for this task run.String
statusAsString()
The status for this task run.String
taskRunId()
The unique run identifier associated with this run.GetMlTaskRunResponse.Builder
toBuilder()
String
toString()
Returns a string representation of this object.String
transformId()
The unique identifier of the task run.-
Methods inherited from class software.amazon.awssdk.services.glue.model.GlueResponse
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
-
transformId
public final String transformId()
The unique identifier of the task run.
- Returns:
- The unique identifier of the task run.
-
taskRunId
public final String taskRunId()
The unique run identifier associated with this run.
- Returns:
- The unique run identifier associated with this run.
-
status
public final TaskStatusType status()
The status for this task run.
If the service returns an enum value that is not available in the current SDK version,
status
will returnTaskStatusType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstatusAsString()
.- Returns:
- The status for this task run.
- See Also:
TaskStatusType
-
statusAsString
public final String statusAsString()
The status for this task run.
If the service returns an enum value that is not available in the current SDK version,
status
will returnTaskStatusType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstatusAsString()
.- Returns:
- The status for this task run.
- See Also:
TaskStatusType
-
logGroupName
public final String logGroupName()
The names of the log groups that are associated with the task run.
- Returns:
- The names of the log groups that are associated with the task run.
-
properties
public final TaskRunProperties properties()
The list of properties that are associated with the task run.
- Returns:
- The list of properties that are associated with the task run.
-
errorString
public final String errorString()
The error strings that are associated with the task run.
- Returns:
- The error strings that are associated with the task run.
-
startedOn
public final Instant startedOn()
The date and time when this task run started.
- Returns:
- The date and time when this task run started.
-
lastModifiedOn
public final Instant lastModifiedOn()
The date and time when this task run was last modified.
- Returns:
- The date and time when this task run was last modified.
-
completedOn
public final Instant completedOn()
The date and time when this task run was completed.
- Returns:
- The date and time when this task run was completed.
-
executionTime
public final Integer executionTime()
The amount of time (in seconds) that the task run consumed resources.
- Returns:
- The amount of time (in seconds) that the task run consumed resources.
-
toBuilder
public GetMlTaskRunResponse.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<GetMlTaskRunResponse.Builder,GetMlTaskRunResponse>
- Specified by:
toBuilder
in classAwsResponse
-
builder
public static GetMlTaskRunResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetMlTaskRunResponse.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
-
-