Class TaskRun
- java.lang.Object
-
- software.amazon.awssdk.services.glue.model.TaskRun
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TaskRun.Builder,TaskRun>
@Generated("software.amazon.awssdk:codegen") public final class TaskRun extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TaskRun.Builder,TaskRun>
The sampling parameters that are associated with the machine learning transform.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTaskRun.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TaskRun.Builderbuilder()InstantcompletedOn()The last point in time that the requested task run was completed.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringerrorString()The list of error strings associated with this 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 last point in time that the requested task run was updated.StringlogGroupName()The names of the log group for secure logging, associated with this task run.TaskRunPropertiesproperties()Specifies configuration properties associated with this task run.List<SdkField<?>>sdkFields()static Class<? extends TaskRun.Builder>serializableBuilderClass()InstantstartedOn()The date and time that this task run started.TaskStatusTypestatus()The current status of the requested task run.StringstatusAsString()The current status of the requested task run.StringtaskRunId()The unique identifier for this task run.TaskRun.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringtransformId()The unique identifier for the transform.-
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 for the transform.
- Returns:
- The unique identifier for the transform.
-
taskRunId
public final String taskRunId()
The unique identifier for this task run.
- Returns:
- The unique identifier for this task run.
-
status
public final TaskStatusType status()
The current status of the requested 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 current status of the requested task run.
- See Also:
TaskStatusType
-
statusAsString
public final String statusAsString()
The current status of the requested 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 current status of the requested task run.
- See Also:
TaskStatusType
-
logGroupName
public final String logGroupName()
The names of the log group for secure logging, associated with this task run.
- Returns:
- The names of the log group for secure logging, associated with this task run.
-
properties
public final TaskRunProperties properties()
Specifies configuration properties associated with this task run.
- Returns:
- Specifies configuration properties associated with this task run.
-
errorString
public final String errorString()
The list of error strings associated with this task run.
- Returns:
- The list of error strings associated with this task run.
-
startedOn
public final Instant startedOn()
The date and time that this task run started.
- Returns:
- The date and time that this task run started.
-
lastModifiedOn
public final Instant lastModifiedOn()
The last point in time that the requested task run was updated.
- Returns:
- The last point in time that the requested task run was updated.
-
completedOn
public final Instant completedOn()
The last point in time that the requested task run was completed.
- Returns:
- The last point in time that the requested 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 TaskRun.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<TaskRun.Builder,TaskRun>
-
builder
public static TaskRun.Builder builder()
-
serializableBuilderClass
public static Class<? extends TaskRun.Builder> serializableBuilderClass()
-
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.
-
-