Interface GetRuntimeAliasResponse.Builder

  • Method Details

    • name

      The name of the runtime alias.

      Parameters:
      name - The name of the runtime alias.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • arn

      The Amazon Resource Name (ARN) of the runtime alias.

      Parameters:
      arn - The Amazon Resource Name (ARN) of the runtime alias.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • runtimeVersion

      GetRuntimeAliasResponse.Builder runtimeVersion(String runtimeVersion)

      The name of the runtime version the alias points to.

      Parameters:
      runtimeVersion - The name of the runtime version the alias points to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • runtimeVersionArn

      GetRuntimeAliasResponse.Builder runtimeVersionArn(String runtimeVersionArn)

      The Amazon Resource Name (ARN) of the runtime version the alias points to.

      Parameters:
      runtimeVersionArn - The Amazon Resource Name (ARN) of the runtime version the alias points to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • state

      The current state of the runtime alias.

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

      The current state of the runtime alias.

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

      GetRuntimeAliasResponse.Builder pendingDeletionAt(String pendingDeletionAt)

      Present only when State is PENDING_DELETION. The date and time at which the runtime alias will be permanently deleted.

      Parameters:
      pendingDeletionAt - Present only when State is PENDING_DELETION. The date and time at which the runtime alias will be permanently deleted.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      GetRuntimeAliasResponse.Builder description(String description)

      A description of the runtime alias.

      Parameters:
      description - A description of the runtime alias.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • compatibility

      GetRuntimeAliasResponse.Builder compatibility(Compatibility compatibility)

      The compatibility matrix of the runtime version the alias points to.

      Parameters:
      compatibility - The compatibility matrix of the runtime version the alias points to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • compatibility

      default GetRuntimeAliasResponse.Builder compatibility(Consumer<Compatibility.Builder> compatibility)

      The compatibility matrix of the runtime version the alias points to.

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

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

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

      GetRuntimeAliasResponse.Builder releaseLifecycle(RuntimeReleaseLifecycle releaseLifecycle)

      The runtime lifecycle for the alias. By default, this is inherited from the runtime lifecycle. Optionally, you can override the lifecycle information at the alias level, if required.

      Parameters:
      releaseLifecycle - The runtime lifecycle for the alias. By default, this is inherited from the runtime lifecycle. Optionally, you can override the lifecycle information at the alias level, if required.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • releaseLifecycle

      default GetRuntimeAliasResponse.Builder releaseLifecycle(Consumer<RuntimeReleaseLifecycle.Builder> releaseLifecycle)

      The runtime lifecycle for the alias. By default, this is inherited from the runtime lifecycle. Optionally, you can override the lifecycle information at the alias level, if required.

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

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

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

      The date and time when the runtime alias was created.

      Parameters:
      created - The date and time when the runtime alias was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastModified

      GetRuntimeAliasResponse.Builder lastModified(String lastModified)

      The date and time when the runtime alias was last modified.

      Parameters:
      lastModified - The date and time when the runtime alias was last modified.
      Returns:
      Returns a reference to this object so that method calls can be chained together.