Interface CfnTaskTemplate.FieldProperty

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

@Stability(Stable) public static interface CfnTaskTemplate.FieldProperty extends software.amazon.jsii.JsiiSerializable
Describes a single task template field.

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.connect.*;
 FieldProperty fieldProperty = FieldProperty.builder()
         .id(FieldIdentifierProperty.builder()
                 .name("name")
                 .build())
         .type("type")
         // the properties below are optional
         .description("description")
         .singleSelectOptions(List.of("singleSelectOptions"))
         .build();
 
  • Method Details

    • getId

      @Stability(Stable) @NotNull Object getId()
      The unique identifier for the field.
    • getType

      @Stability(Stable) @NotNull String getType()
      Indicates the type of field.

      Following are the valid field types: NAME DESCRIPTION | SCHEDULED_TIME | QUICK_CONNECT | URL | NUMBER | TEXT | TEXT_AREA | DATE_TIME | BOOLEAN | SINGLE_SELECT | EMAIL

    • getDescription

      @Stability(Stable) @Nullable default String getDescription()
      The description of the field.
    • getSingleSelectOptions

      @Stability(Stable) @Nullable default List<String> getSingleSelectOptions()
      A list of options for a single select field.
    • builder

      @Stability(Stable) static CfnTaskTemplate.FieldProperty.Builder builder()
      Returns:
      a CfnTaskTemplate.FieldProperty.Builder of CfnTaskTemplate.FieldProperty