Interface RegisterConnectorRequest.Builder

  • Method Details

    • connectorLabel

      RegisterConnectorRequest.Builder connectorLabel(String connectorLabel)

      The name of the connector. The name is unique for each ConnectorRegistration in your Amazon Web Services account.

      Parameters:
      connectorLabel - The name of the connector. The name is unique for each ConnectorRegistration in your Amazon Web Services account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      RegisterConnectorRequest.Builder description(String description)

      A description about the connector that's being registered.

      Parameters:
      description - A description about the connector that's being registered.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • connectorProvisioningType

      RegisterConnectorRequest.Builder connectorProvisioningType(String connectorProvisioningType)

      The provisioning type of the connector. Currently the only supported value is LAMBDA.

      Parameters:
      connectorProvisioningType - The provisioning type of the connector. Currently the only supported value is LAMBDA.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • connectorProvisioningType

      RegisterConnectorRequest.Builder connectorProvisioningType(ConnectorProvisioningType connectorProvisioningType)

      The provisioning type of the connector. Currently the only supported value is LAMBDA.

      Parameters:
      connectorProvisioningType - The provisioning type of the connector. Currently the only supported value is LAMBDA.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • connectorProvisioningConfig

      RegisterConnectorRequest.Builder connectorProvisioningConfig(ConnectorProvisioningConfig connectorProvisioningConfig)

      The provisioning type of the connector. Currently the only supported value is LAMBDA.

      Parameters:
      connectorProvisioningConfig - The provisioning type of the connector. Currently the only supported value is LAMBDA.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • connectorProvisioningConfig

      default RegisterConnectorRequest.Builder connectorProvisioningConfig(Consumer<ConnectorProvisioningConfig.Builder> connectorProvisioningConfig)

      The provisioning type of the connector. Currently the only supported value is LAMBDA.

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

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

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

      RegisterConnectorRequest.Builder clientToken(String clientToken)

      The clientToken parameter is an idempotency token. It ensures that your RegisterConnector request completes only once. You choose the value to pass. For example, if you don't receive a response from your request, you can safely retry the request with the same clientToken parameter value.

      If you omit a clientToken value, the Amazon Web Services SDK that you are using inserts a value for you. This way, the SDK can safely retry requests multiple times after a network error. You must provide your own value for other use cases.

      If you specify input parameters that differ from your first request, an error occurs. If you use a different value for clientToken, Amazon AppFlow considers it a new call to RegisterConnector. The token is active for 8 hours.

      Parameters:
      clientToken - The clientToken parameter is an idempotency token. It ensures that your RegisterConnector request completes only once. You choose the value to pass. For example, if you don't receive a response from your request, you can safely retry the request with the same clientToken parameter value.

      If you omit a clientToken value, the Amazon Web Services SDK that you are using inserts a value for you. This way, the SDK can safely retry requests multiple times after a network error. You must provide your own value for other use cases.

      If you specify input parameters that differ from your first request, an error occurs. If you use a different value for clientToken, Amazon AppFlow considers it a new call to RegisterConnector. The token is active for 8 hours.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      RegisterConnectorRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.