Interface ConnectorProperty.Builder

  • Method Details

    • name

      The name of the property.

      Parameters:
      name - The name of the property.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • keyOverride

      ConnectorProperty.Builder keyOverride(String keyOverride)

      A key name to use when sending this property in API requests, if different from the display name.

      Parameters:
      keyOverride - A key name to use when sending this property in API requests, if different from the display name.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • required

      ConnectorProperty.Builder required(Boolean required)

      Indicates whether the property is required.

      Parameters:
      required - Indicates whether the property is required.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • defaultValue

      ConnectorProperty.Builder defaultValue(String defaultValue)

      The default value for the property.

      Parameters:
      defaultValue - The default value for the property.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • allowedValues

      ConnectorProperty.Builder allowedValues(Collection<String> allowedValues)

      A list of AllowedValue objects representing the values allowed for the property.

      Parameters:
      allowedValues - A list of AllowedValue objects representing the values allowed for the property.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • allowedValues

      ConnectorProperty.Builder allowedValues(String... allowedValues)

      A list of AllowedValue objects representing the values allowed for the property.

      Parameters:
      allowedValues - A list of AllowedValue objects representing the values allowed for the property.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • propertyLocation

      ConnectorProperty.Builder propertyLocation(String propertyLocation)

      Specifies where this property should be included in REST requests, such as in headers, query parameters, or request body.

      Parameters:
      propertyLocation - Specifies where this property should be included in REST requests, such as in headers, query parameters, or request body.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • propertyLocation

      ConnectorProperty.Builder propertyLocation(PropertyLocation propertyLocation)

      Specifies where this property should be included in REST requests, such as in headers, query parameters, or request body.

      Parameters:
      propertyLocation - Specifies where this property should be included in REST requests, such as in headers, query parameters, or request body.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • propertyType

      ConnectorProperty.Builder propertyType(String propertyType)

      The data type of this property

      Parameters:
      propertyType - The data type of this property
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • propertyType

      ConnectorProperty.Builder propertyType(PropertyType propertyType)

      The data type of this property

      Parameters:
      propertyType - The data type of this property
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: