Interface ImportApiRequest.Builder

All Superinterfaces:
ApiGatewayV2Request.Builder, AwsRequest.Builder, Buildable, CopyableBuilder<ImportApiRequest.Builder,ImportApiRequest>, SdkBuilder<ImportApiRequest.Builder,ImportApiRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
ImportApiRequest

public static interface ImportApiRequest.Builder extends ApiGatewayV2Request.Builder, SdkPojo, CopyableBuilder<ImportApiRequest.Builder,ImportApiRequest>
  • Method Details

    • basepath

      ImportApiRequest.Builder basepath(String basepath)

      Specifies how to interpret the base path of the API during import. Valid values are ignore, prepend, and split. The default value is ignore. To learn more, see Set the OpenAPI basePath Property. Supported only for HTTP APIs.

      Parameters:
      basepath - Specifies how to interpret the base path of the API during import. Valid values are ignore, prepend, and split. The default value is ignore. To learn more, see Set the OpenAPI basePath Property. Supported only for HTTP APIs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • body

      The OpenAPI definition. Supported only for HTTP APIs.

      Parameters:
      body - The OpenAPI definition. Supported only for HTTP APIs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • failOnWarnings

      ImportApiRequest.Builder failOnWarnings(Boolean failOnWarnings)

      Specifies whether to rollback the API creation when a warning is encountered. By default, API creation continues if a warning is encountered.

      Parameters:
      failOnWarnings - Specifies whether to rollback the API creation when a warning is encountered. By default, API creation continues if a warning is encountered.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

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