Interface GetMicrovmImageBuildResponse.Builder

  • Method Details

    • imageArn

      The ARN of the MicroVM image.

      Parameters:
      imageArn - The ARN of the MicroVM image.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • imageVersion

      GetMicrovmImageBuildResponse.Builder imageVersion(String imageVersion)

      The version of the MicroVM image.

      Parameters:
      imageVersion - The version of the MicroVM image.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • buildId

      The build request ID.

      Parameters:
      buildId - The build request ID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • buildState

      The current state of the build.

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

      The current state of the build.

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

      GetMicrovmImageBuildResponse.Builder architecture(String architecture)

      The target CPU architecture for the build. Supported value: ARM_64.

      Parameters:
      architecture - The target CPU architecture for the build. Supported value: ARM_64.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • architecture

      The target CPU architecture for the build. Supported value: ARM_64.

      Parameters:
      architecture - The target CPU architecture for the build. Supported value: ARM_64.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • chipset

      The target chipset for the build.

      Parameters:
      chipset - The target chipset for the build.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • chipset

      The target chipset for the build.

      Parameters:
      chipset - The target chipset for the build.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • chipsetGeneration

      GetMicrovmImageBuildResponse.Builder chipsetGeneration(String chipsetGeneration)

      The target chipset generation for the build.

      Parameters:
      chipsetGeneration - The target chipset generation for the build.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • stateReason

      GetMicrovmImageBuildResponse.Builder stateReason(String stateReason)

      The reason for the build state, if applicable.

      Parameters:
      stateReason - The reason for the build state, if applicable.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      The timestamp when the build was created.

      Parameters:
      createdAt - The timestamp when the build was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • snapshotBuild

      The snapshot build details, including memory and disk snapshot sizes.

      Parameters:
      snapshotBuild - The snapshot build details, including memory and disk snapshot sizes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • snapshotBuild

      The snapshot build details, including memory and disk snapshot sizes.

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

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

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