Interface LastUpdate.Builder

  • Method Details

    • status

      LastUpdate.Builder status(String status)

      The status of the last update on the environment.

      Parameters:
      status - The status of the last update on the environment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The status of the last update on the environment.

      Parameters:
      status - The status of the last update on the environment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • createdAt

      LastUpdate.Builder createdAt(Instant createdAt)

      The day and time of the last update on the environment.

      Parameters:
      createdAt - The day and time of the last update on the environment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • error

      The error that was encountered during the last update of the environment.

      Parameters:
      error - The error that was encountered during the last update of the environment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • error

      The error that was encountered during the last update of the environment.

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

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

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

      LastUpdate.Builder source(String source)

      The source of the last update to the environment. Includes internal processes by Amazon MWAA, such as an environment maintenance update.

      Parameters:
      source - The source of the last update to the environment. Includes internal processes by Amazon MWAA, such as an environment maintenance update.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • workerReplacementStrategy

      LastUpdate.Builder workerReplacementStrategy(String workerReplacementStrategy)

      The worker replacement strategy used in the last update of the environment.

      Parameters:
      workerReplacementStrategy - The worker replacement strategy used in the last update of the environment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • workerReplacementStrategy

      LastUpdate.Builder workerReplacementStrategy(WorkerReplacementStrategy workerReplacementStrategy)

      The worker replacement strategy used in the last update of the environment.

      Parameters:
      workerReplacementStrategy - The worker replacement strategy used in the last update of the environment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: