@Generated(value="software.amazon.awssdk:codegen") public final class Task extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Task.Builder,Task>
A class for modeling different type of tasks. Task implementation varies based on the TaskType.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Task.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Task.Builder |
builder() |
ConnectorOperator |
connectorOperator()
The operation to be performed on the provided source fields.
|
String |
destinationField()
A field in a destination connector, or a field value against which Amazon AppFlow validates a source field.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasSourceFields()
Returns true if the SourceFields property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
boolean |
hasTaskProperties()
Returns true if the TaskProperties property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Task.Builder> |
serializableBuilderClass() |
List<String> |
sourceFields()
The source fields to which a particular task is applied.
|
Map<OperatorPropertiesKeys,String> |
taskProperties()
A map used to store task-related information.
|
Map<String,String> |
taskPropertiesAsStrings()
A map used to store task-related information.
|
TaskType |
taskType()
Specifies the particular task implementation that Amazon AppFlow performs.
|
String |
taskTypeAsString()
Specifies the particular task implementation that Amazon AppFlow performs.
|
Task.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final ConnectorOperator connectorOperator()
The operation to be performed on the provided source fields.
public final String destinationField()
A field in a destination connector, or a field value against which Amazon AppFlow validates a source field.
public final boolean hasSourceFields()
public final List<String> sourceFields()
The source fields to which a particular task is applied.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasSourceFields() to see if a value was sent in this field.
public final Map<OperatorPropertiesKeys,String> taskProperties()
A map used to store task-related information. The service looks for particular information based on the TaskType.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTaskProperties() to see if a value was sent in this field.
public final boolean hasTaskProperties()
public final Map<String,String> taskPropertiesAsStrings()
A map used to store task-related information. The service looks for particular information based on the TaskType.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTaskProperties() to see if a value was sent in this field.
public final TaskType taskType()
Specifies the particular task implementation that Amazon AppFlow performs.
If the service returns an enum value that is not available in the current SDK version, taskType will
return TaskType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
taskTypeAsString().
TaskTypepublic final String taskTypeAsString()
Specifies the particular task implementation that Amazon AppFlow performs.
If the service returns an enum value that is not available in the current SDK version, taskType will
return TaskType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
taskTypeAsString().
TaskTypepublic Task.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Task.Builder,Task>public static Task.Builder builder()
public static Class<? extends Task.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.