Interface ActionConnector.Builder

  • Method Details

    • arn

      The Amazon Resource Name (ARN) of the action connector.

      Parameters:
      arn - The Amazon Resource Name (ARN) of the action connector.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • actionConnectorId

      ActionConnector.Builder actionConnectorId(String actionConnectorId)

      The unique identifier of the action connector.

      Parameters:
      actionConnectorId - The unique identifier of the action connector.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • type

      The type of action connector.

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

      The type of action connector.

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

      The name of the action connector.

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

      ActionConnector.Builder createdTime(Instant createdTime)

      The timestamp when the action connector was created.

      Parameters:
      createdTime - The timestamp when the action connector was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastUpdatedTime

      ActionConnector.Builder lastUpdatedTime(Instant lastUpdatedTime)

      The date and time when the action connector was last updated.

      Parameters:
      lastUpdatedTime - The date and time when the action connector was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The current status of the action connector.

      Parameters:
      status - The current status of the action connector.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The current status of the action connector.

      Parameters:
      status - The current status of the action connector.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • error

      Error information if the action connector is in an error state.

      Parameters:
      error - Error information if the action connector is in an error state.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • error

      Error information if the action connector is in an error state.

      This is a convenience method that creates an instance of the ActionConnectorError.Builder avoiding the need to create one manually via ActionConnectorError.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to error(ActionConnectorError).

      Parameters:
      error - a consumer that will call methods on ActionConnectorError.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • description

      ActionConnector.Builder description(String description)

      The description of the action connector.

      Parameters:
      description - The description of the action connector.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • authenticationConfig

      ActionConnector.Builder authenticationConfig(ReadAuthConfig authenticationConfig)

      The authentication configuration used to connect to the external service.

      Parameters:
      authenticationConfig - The authentication configuration used to connect to the external service.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • authenticationConfig

      default ActionConnector.Builder authenticationConfig(Consumer<ReadAuthConfig.Builder> authenticationConfig)

      The authentication configuration used to connect to the external service.

      This is a convenience method that creates an instance of the ReadAuthConfig.Builder avoiding the need to create one manually via ReadAuthConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to authenticationConfig(ReadAuthConfig).

      Parameters:
      authenticationConfig - a consumer that will call methods on ReadAuthConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • enabledActions

      ActionConnector.Builder enabledActions(Collection<String> enabledActions)

      The list of actions that are enabled for this connector.

      Parameters:
      enabledActions - The list of actions that are enabled for this connector.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • enabledActions

      ActionConnector.Builder enabledActions(String... enabledActions)

      The list of actions that are enabled for this connector.

      Parameters:
      enabledActions - The list of actions that are enabled for this connector.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • vpcConnectionArn

      ActionConnector.Builder vpcConnectionArn(String vpcConnectionArn)

      The ARN of the VPC connection used for secure connectivity to the external service.

      Parameters:
      vpcConnectionArn - The ARN of the VPC connection used for secure connectivity to the external service.
      Returns:
      Returns a reference to this object so that method calls can be chained together.