Interface Definition.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Definition.Builder,Definition>, SdkBuilder<Definition.Builder,Definition>, SdkPojo
Enclosing class:
Definition

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

    • modelHandle

      Definition.Builder modelHandle(String modelHandle)

      The unique model handle.

      Parameters:
      modelHandle - The unique model handle.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • s3Url

      Definition.Builder s3Url(String s3Url)

      The absolute S3 location of the model.

      Parameters:
      s3Url - The absolute S3 location of the model.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • checksum

      Definition.Builder checksum(Checksum checksum)

      The checksum information of the model.

      Parameters:
      checksum - The checksum information of the model.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • checksum

      default Definition.Builder checksum(Consumer<Checksum.Builder> checksum)

      The checksum information of the model.

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

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

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

      Definition.Builder state(String state)

      The desired state of the model.

      Parameters:
      state - The desired state of the model.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • state

      The desired state of the model.

      Parameters:
      state - The desired state of the model.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: