@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Task extends Object implements Serializable, Cloneable, StructuredPojo
A class for modeling different type of tasks. Task implementation varies based on the TaskType
.
Constructor and Description |
---|
Task() |
Modifier and Type | Method and Description |
---|---|
Task |
addTaskPropertiesEntry(String key,
String value)
Add a single TaskProperties entry
|
Task |
clearTaskPropertiesEntries()
Removes all the entries added into TaskProperties.
|
Task |
clone() |
boolean |
equals(Object obj) |
ConnectorOperator |
getConnectorOperator()
The operation to be performed on the provided source fields.
|
String |
getDestinationField()
A field in a destination connector, or a field value against which Amazon AppFlow validates a source field.
|
List<String> |
getSourceFields()
The source fields to which a particular task is applied.
|
Map<String,String> |
getTaskProperties()
A map used to store task-related information.
|
String |
getTaskType()
Specifies the particular task implementation that Amazon AppFlow performs.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setConnectorOperator(ConnectorOperator connectorOperator)
The operation to be performed on the provided source fields.
|
void |
setDestinationField(String destinationField)
A field in a destination connector, or a field value against which Amazon AppFlow validates a source field.
|
void |
setSourceFields(Collection<String> sourceFields)
The source fields to which a particular task is applied.
|
void |
setTaskProperties(Map<String,String> taskProperties)
A map used to store task-related information.
|
void |
setTaskType(String taskType)
Specifies the particular task implementation that Amazon AppFlow performs.
|
String |
toString()
Returns a string representation of this object.
|
Task |
withConnectorOperator(ConnectorOperator connectorOperator)
The operation to be performed on the provided source fields.
|
Task |
withDestinationField(String destinationField)
A field in a destination connector, or a field value against which Amazon AppFlow validates a source field.
|
Task |
withSourceFields(Collection<String> sourceFields)
The source fields to which a particular task is applied.
|
Task |
withSourceFields(String... sourceFields)
The source fields to which a particular task is applied.
|
Task |
withTaskProperties(Map<String,String> taskProperties)
A map used to store task-related information.
|
Task |
withTaskType(String taskType)
Specifies the particular task implementation that Amazon AppFlow performs.
|
Task |
withTaskType(TaskType taskType)
Specifies the particular task implementation that Amazon AppFlow performs.
|
public List<String> getSourceFields()
The source fields to which a particular task is applied.
public void setSourceFields(Collection<String> sourceFields)
The source fields to which a particular task is applied.
sourceFields
- The source fields to which a particular task is applied.public Task withSourceFields(String... sourceFields)
The source fields to which a particular task is applied.
NOTE: This method appends the values to the existing list (if any). Use
setSourceFields(java.util.Collection)
or withSourceFields(java.util.Collection)
if you want to
override the existing values.
sourceFields
- The source fields to which a particular task is applied.public Task withSourceFields(Collection<String> sourceFields)
The source fields to which a particular task is applied.
sourceFields
- The source fields to which a particular task is applied.public void setConnectorOperator(ConnectorOperator connectorOperator)
The operation to be performed on the provided source fields.
connectorOperator
- The operation to be performed on the provided source fields.public ConnectorOperator getConnectorOperator()
The operation to be performed on the provided source fields.
public Task withConnectorOperator(ConnectorOperator connectorOperator)
The operation to be performed on the provided source fields.
connectorOperator
- The operation to be performed on the provided source fields.public void setDestinationField(String destinationField)
A field in a destination connector, or a field value against which Amazon AppFlow validates a source field.
destinationField
- A field in a destination connector, or a field value against which Amazon AppFlow validates a source
field.public String getDestinationField()
A field in a destination connector, or a field value against which Amazon AppFlow validates a source field.
public Task withDestinationField(String destinationField)
A field in a destination connector, or a field value against which Amazon AppFlow validates a source field.
destinationField
- A field in a destination connector, or a field value against which Amazon AppFlow validates a source
field.public void setTaskType(String taskType)
Specifies the particular task implementation that Amazon AppFlow performs.
taskType
- Specifies the particular task implementation that Amazon AppFlow performs.TaskType
public String getTaskType()
Specifies the particular task implementation that Amazon AppFlow performs.
TaskType
public Task withTaskType(String taskType)
Specifies the particular task implementation that Amazon AppFlow performs.
taskType
- Specifies the particular task implementation that Amazon AppFlow performs.TaskType
public Task withTaskType(TaskType taskType)
Specifies the particular task implementation that Amazon AppFlow performs.
taskType
- Specifies the particular task implementation that Amazon AppFlow performs.TaskType
public Map<String,String> getTaskProperties()
A map used to store task-related information. The execution service looks for particular information based on the
TaskType
.
TaskType
.public void setTaskProperties(Map<String,String> taskProperties)
A map used to store task-related information. The execution service looks for particular information based on the
TaskType
.
taskProperties
- A map used to store task-related information. The execution service looks for particular information based
on the TaskType
.public Task withTaskProperties(Map<String,String> taskProperties)
A map used to store task-related information. The execution service looks for particular information based on the
TaskType
.
taskProperties
- A map used to store task-related information. The execution service looks for particular information based
on the TaskType
.public Task addTaskPropertiesEntry(String key, String value)
public Task clearTaskPropertiesEntries()
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.