Interface APISchema.Builder

  • Method Details

    • payload

      APISchema.Builder payload(String payload)

      The JSON or YAML-formatted payload defining the OpenAPI schema for the action group.

      Parameters:
      payload - The JSON or YAML-formatted payload defining the OpenAPI schema for the action group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • s3

      Contains details about the S3 object containing the OpenAPI schema for the action group.

      Parameters:
      s3 - Contains details about the S3 object containing the OpenAPI schema for the action group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • s3

      Contains details about the S3 object containing the OpenAPI schema for the action group.

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

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

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