Interface ReimportApiRequest.Builder

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

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

    • apiId

      The API identifier.

      Parameters:
      apiId - The API identifier.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • basepath

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

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

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