Interface CreateIntegrationRequest.Builder

  • Method Details

    • clientToken

      CreateIntegrationRequest.Builder clientToken(String clientToken)

      An optional token identifying one create attempt within the caller's account, Region, and operation. SDKs generate a token when omitted. If a request reaches the service without a token, the service generates one for that request. Each request without a token starts a new attempt. To replay an attempt, supply the same token and identical input. Authorized users and roles in the same account can retry an attempt this way. Token records are retained for eight hours after success or terminal failure, including after deletion of a successfully created integration. Different input with the same token returns ValidationException.

      Parameters:
      clientToken - An optional token identifying one create attempt within the caller's account, Region, and operation. SDKs generate a token when omitted. If a request reaches the service without a token, the service generates one for that request. Each request without a token starts a new attempt. To replay an attempt, supply the same token and identical input. Authorized users and roles in the same account can retry an attempt this way. Token records are retained for eight hours after success or terminal failure, including after deletion of a successfully created integration. Different input with the same token returns ValidationException.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name for the integration.

      Parameters:
      name - The name for the integration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • providerConfiguration

      CreateIntegrationRequest.Builder providerConfiguration(ProviderConfiguration providerConfiguration)

      The provider-specific configuration required to create the integration. Only one member may be specified.

      Parameters:
      providerConfiguration - The provider-specific configuration required to create the integration. Only one member may be specified.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • providerConfiguration

      default CreateIntegrationRequest.Builder providerConfiguration(Consumer<ProviderConfiguration.Builder> providerConfiguration)

      The provider-specific configuration required to create the integration. Only one member may be specified.

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

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

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

      CreateIntegrationRequest.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.