Interface CfnIntegration.TaskProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnIntegration.TaskProperty.Jsii$Proxy
Enclosing class:
CfnIntegration

@Stability(Stable) public static interface CfnIntegration.TaskProperty extends software.amazon.jsii.JsiiSerializable
The Task property type specifies the class for modeling different type of tasks.

Task implementation varies based on the TaskType.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.customerprofiles.*;
 TaskProperty taskProperty = TaskProperty.builder()
         .sourceFields(List.of("sourceFields"))
         .taskType("taskType")
         // the properties below are optional
         .connectorOperator(ConnectorOperatorProperty.builder()
                 .marketo("marketo")
                 .s3("s3")
                 .salesforce("salesforce")
                 .serviceNow("serviceNow")
                 .zendesk("zendesk")
                 .build())
         .destinationField("destinationField")
         .taskProperties(List.of(TaskPropertiesMapProperty.builder()
                 .operatorPropertyKey("operatorPropertyKey")
                 .property("property")
                 .build()))
         .build();
 
  • Method Details

    • getSourceFields

      @Stability(Stable) @NotNull List<String> getSourceFields()
      The source fields to which a particular task is applied.
    • getTaskType

      @Stability(Stable) @NotNull String getTaskType()
      Specifies the particular task implementation that Amazon AppFlow performs.
    • getConnectorOperator

      @Stability(Stable) @Nullable default Object getConnectorOperator()
      The operation to be performed on the provided source fields.
    • getDestinationField

      @Stability(Stable) @Nullable default String getDestinationField()
      A field in a destination connector, or a field value against which Amazon AppFlow validates a source field.
    • getTaskProperties

      @Stability(Stable) @Nullable default Object getTaskProperties()
      A map used to store task-related information.

      The service looks for particular information based on the TaskType.

    • builder

      @Stability(Stable) static CfnIntegration.TaskProperty.Builder builder()
      Returns:
      a CfnIntegration.TaskProperty.Builder of CfnIntegration.TaskProperty