Interface MicrovmImageVersionSummary.Builder

  • Method Details

    • baseImageArn

      MicrovmImageVersionSummary.Builder baseImageArn(String baseImageArn)

      The ARN of the base MicroVM image used.

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

      MicrovmImageVersionSummary.Builder baseImageVersion(String baseImageVersion)

      The specific version of the base MicroVM image.

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

      MicrovmImageVersionSummary.Builder buildRoleArn(String buildRoleArn)

      The ARN of the IAM build role.

      Parameters:
      buildRoleArn - The ARN of the IAM build role.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      MicrovmImageVersionSummary.Builder description(String description)

      The description of the version.

      Parameters:
      description - The description of the version.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • codeArtifact

      The code artifact for this version.

      Parameters:
      codeArtifact - The code artifact for this version.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • codeArtifact

      The code artifact for this version.

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

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

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

      The logging configuration for this version.

      Parameters:
      logging - The logging configuration for this version.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • logging

      The logging configuration for this version.

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

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

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

      MicrovmImageVersionSummary.Builder egressNetworkConnectors(Collection<String> egressNetworkConnectors)

      The list of egress network connectors available to the MicroVM at runtime.

      Parameters:
      egressNetworkConnectors - The list of egress network connectors available to the MicroVM at runtime.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • egressNetworkConnectors

      MicrovmImageVersionSummary.Builder egressNetworkConnectors(String... egressNetworkConnectors)

      The list of egress network connectors available to the MicroVM at runtime.

      Parameters:
      egressNetworkConnectors - The list of egress network connectors available to the MicroVM at runtime.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cpuConfigurations

      MicrovmImageVersionSummary.Builder cpuConfigurations(Collection<CpuConfiguration> cpuConfigurations)

      The list of supported CPU configurations for the MicroVM.

      Parameters:
      cpuConfigurations - The list of supported CPU configurations for the MicroVM.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cpuConfigurations

      MicrovmImageVersionSummary.Builder cpuConfigurations(CpuConfiguration... cpuConfigurations)

      The list of supported CPU configurations for the MicroVM.

      Parameters:
      cpuConfigurations - The list of supported CPU configurations for the MicroVM.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cpuConfigurations

      MicrovmImageVersionSummary.Builder cpuConfigurations(Consumer<CpuConfiguration.Builder>... cpuConfigurations)

      The list of supported CPU configurations for the MicroVM.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to cpuConfigurations(List<CpuConfiguration>).

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

      The resource requirements for the MicroVM.

      Parameters:
      resources - The resource requirements for the MicroVM.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resources

      The resource requirements for the MicroVM.

      Parameters:
      resources - The resource requirements for the MicroVM.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resources

      The resource requirements for the MicroVM.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to resources(List<Resources>).

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

      MicrovmImageVersionSummary.Builder additionalOsCapabilitiesWithStrings(Collection<String> additionalOsCapabilities)

      Additional OS capabilities granted to the MicroVM runtime environment.

      Parameters:
      additionalOsCapabilities - Additional OS capabilities granted to the MicroVM runtime environment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • additionalOsCapabilitiesWithStrings

      MicrovmImageVersionSummary.Builder additionalOsCapabilitiesWithStrings(String... additionalOsCapabilities)

      Additional OS capabilities granted to the MicroVM runtime environment.

      Parameters:
      additionalOsCapabilities - Additional OS capabilities granted to the MicroVM runtime environment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • additionalOsCapabilities

      MicrovmImageVersionSummary.Builder additionalOsCapabilities(Collection<Capability> additionalOsCapabilities)

      Additional OS capabilities granted to the MicroVM runtime environment.

      Parameters:
      additionalOsCapabilities - Additional OS capabilities granted to the MicroVM runtime environment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • additionalOsCapabilities

      MicrovmImageVersionSummary.Builder additionalOsCapabilities(Capability... additionalOsCapabilities)

      Additional OS capabilities granted to the MicroVM runtime environment.

      Parameters:
      additionalOsCapabilities - Additional OS capabilities granted to the MicroVM runtime environment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • hooks

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

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

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

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

      MicrovmImageVersionSummary.Builder environmentVariables(Map<String,String> environmentVariables)

      Environment variables set in the MicroVM runtime environment.

      Parameters:
      environmentVariables - Environment variables set in the MicroVM runtime environment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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

      MicrovmImageVersionSummary.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.
    • state

      The current state of the version.

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

      The current state of the version.

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

      The availability status of the version: ACTIVE (can be used by RunMicrovm) or INACTIVE (blocked from launching new MicroVMs).

      Parameters:
      status - The availability status of the version: ACTIVE (can be used by RunMicrovm) or INACTIVE (blocked from launching new MicroVMs).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The availability status of the version: ACTIVE (can be used by RunMicrovm) or INACTIVE (blocked from launching new MicroVMs).

      Parameters:
      status - The availability status of the version: ACTIVE (can be used by RunMicrovm) or INACTIVE (blocked from launching new MicroVMs).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • createdAt

      The timestamp when the version was created.

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

      The timestamp when the version was last updated.

      Parameters:
      updatedAt - The timestamp when the version was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • stateReason

      MicrovmImageVersionSummary.Builder stateReason(String stateReason)

      The reason for the current state. For example, one or more builds failed.

      Parameters:
      stateReason - The reason for the current state. For example, one or more builds failed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      Key-value pairs associated with the version.

      Parameters:
      tags - Key-value pairs associated with the version.
      Returns:
      Returns a reference to this object so that method calls can be chained together.