Interface CreateAlertResponse.Builder

  • Method Details

    • alertArn

      CreateAlertResponse.Builder alertArn(String alertArn)

      Deprecated. Use alert.alertArn, which carries the same value. Kept so an existing caller keeps working while it moves to alert.

      Parameters:
      alertArn - Deprecated. Use alert.alertArn, which carries the same value. Kept so an existing caller keeps working while it moves to alert.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • alert

      The alert that was created. The same Alert shape GetAlert returns, so a caller need not read the alert back to learn its timestamps or its minted alert id.

      alert.state is absent here — see the state member of Alert. Every other member is populated exactly as GetAlert populates it.

      Parameters:
      alert - The alert that was created. The same Alert shape GetAlert returns, so a caller need not read the alert back to learn its timestamps or its minted alert id.

      alert.state is absent here — see the state member of Alert. Every other member is populated exactly as GetAlert populates it.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • alert

      The alert that was created. The same Alert shape GetAlert returns, so a caller need not read the alert back to learn its timestamps or its minted alert id.

      alert.state is absent here — see the state member of Alert. Every other member is populated exactly as GetAlert populates it.

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

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

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