Interface CreateRuntimeAliasResponse.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

      CreateRuntimeAliasResponse.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

      CreateRuntimeAliasResponse.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:
    • description

      CreateRuntimeAliasResponse.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.
    • releaseLifecycle

      CreateRuntimeAliasResponse.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 CreateRuntimeAliasResponse.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

      CreateRuntimeAliasResponse.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.