Interface CodeContent.Builder

  • Method Details

    • textContent

      CodeContent.Builder textContent(String textContent)

      The text-format code for a Managed Service for Apache Flink application.

      Parameters:
      textContent - The text-format code for a Managed Service for Apache Flink application.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • zipFileContent

      CodeContent.Builder zipFileContent(SdkBytes zipFileContent)

      The zip-format code for a Managed Service for Apache Flink application.

      Parameters:
      zipFileContent - The zip-format code for a Managed Service for Apache Flink application.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • s3ContentLocation

      CodeContent.Builder s3ContentLocation(S3ContentLocation s3ContentLocation)

      Information about the Amazon S3 bucket that contains the application code.

      Parameters:
      s3ContentLocation - Information about the Amazon S3 bucket that contains the application code.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • s3ContentLocation

      default CodeContent.Builder s3ContentLocation(Consumer<S3ContentLocation.Builder> s3ContentLocation)

      Information about the Amazon S3 bucket that contains the application code.

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

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

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