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 interfaceGetMlTaskRunResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetMlTaskRunResponse.Builderbuilder()InstantcompletedOn()The date and time when this task run was completed.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringerrorString()The error strings that are associated with the task run.IntegerexecutionTime()The amount of time (in seconds) that the task run consumed resources.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastModifiedOn()The date and time when this task run was last modified.StringlogGroupName()The names of the log groups that are associated with the task run.TaskRunPropertiesproperties()The list of properties that are associated with the task run.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends GetMlTaskRunResponse.Builder>serializableBuilderClass()InstantstartedOn()The date and time when this task run started.TaskStatusTypestatus()The status for this task run.StringstatusAsString()The status for this task run.StringtaskRunId()The unique run identifier associated with this run.GetMlTaskRunResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringtransformId()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,
statuswill 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,
statuswill 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:
toBuilderin interfaceToCopyableBuilder<GetMlTaskRunResponse.Builder,GetMlTaskRunResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetMlTaskRunResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetMlTaskRunResponse.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
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-