@Generated(value="software.amazon.awssdk:codegen") public final class TaskListEntry extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TaskListEntry.Builder,TaskListEntry>
Represents a single entry in a list of tasks. TaskListEntry returns an array that contains a list of
tasks when the ListTasks operation is called. A task includes the source and destination file systems to sync
and the options to use for the tasks.
| Modifier and Type | Class and Description |
|---|---|
static interface |
TaskListEntry.Builder |
| Modifier and Type | Method and Description |
|---|---|
static TaskListEntry.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the task.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends TaskListEntry.Builder> |
serializableBuilderClass() |
TaskStatus |
status()
The status of the task.
|
String |
statusAsString()
The status of the task.
|
String |
taskArn()
The Amazon Resource Name (ARN) of the task.
|
TaskListEntry.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String taskArn()
The Amazon Resource Name (ARN) of the task.
public TaskStatus status()
The status of the task.
If the service returns an enum value that is not available in the current SDK version, status will
return TaskStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
TaskStatuspublic String statusAsString()
The status of the task.
If the service returns an enum value that is not available in the current SDK version, status will
return TaskStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
TaskStatuspublic String name()
The name of the task.
public TaskListEntry.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TaskListEntry.Builder,TaskListEntry>public static TaskListEntry.Builder builder()
public static Class<? extends TaskListEntry.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.