Class TaskRun
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<TaskRun.Builder,
TaskRun>
The sampling parameters that are associated with the machine learning transform.
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic TaskRun.Builder
builder()
final Instant
The last point in time that the requested task run was completed.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final String
The list of error strings associated with this task run.final Integer
The amount of time (in seconds) that the task run consumed resources.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final Instant
The last point in time that the requested task run was updated.final String
The names of the log group for secure logging, associated with this task run.final TaskRunProperties
Specifies configuration properties associated with this task run.static Class
<? extends TaskRun.Builder> final Instant
The date and time that this task run started.final TaskStatusType
status()
The current status of the requested task run.final String
The current status of the requested task run.final String
The unique identifier for this task run.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.final String
The unique identifier for the transform.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
transformId
The unique identifier for the transform.
- Returns:
- The unique identifier for the transform.
-
taskRunId
The unique identifier for this task run.
- Returns:
- The unique identifier for this task run.
-
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,
status
will 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:
-
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,
status
will 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:
-
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
Specifies configuration properties associated with this task run.
- Returns:
- Specifies configuration properties associated with this task run.
-
errorString
The list of error strings associated with this task run.
- Returns:
- The list of error strings associated with this task run.
-
startedOn
The date and time that this task run started.
- Returns:
- The date and time that this task run started.
-
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
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
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
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<TaskRun.Builder,
TaskRun> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
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
-
sdkFields
-