Interface Image.Builder

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

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

    • id

      The ID of an existing image. Specify this parameter to keep an existing image.

      Parameters:
      id - The ID of an existing image. Specify this parameter to keep an existing image.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • file

      Sets the value of the File property for this object.
      Parameters:
      file - The new value for the File property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • file

      Sets the value of the File property for this object. This is a convenience method that creates an instance of the ImageFile.Builder avoiding the need to create one manually via ImageFile.builder().

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

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