Package com.pulumi.automation.events
Class DiagnosticEvent
- java.lang.Object
-
- com.pulumi.automation.events.DiagnosticEvent
-
public class DiagnosticEvent extends java.lang.Object
DiagnosticEvent
is emitted whenever a diagnostic message is provided, for example errors from a cloud resource provider while trying to create or update a resource.
-
-
Constructor Summary
Constructors Constructor Description DiagnosticEvent(java.lang.String urn, java.lang.String prefix, java.lang.String message, java.lang.String color, java.lang.String severity, java.lang.String streamId, java.lang.Boolean ephemeral)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
color()
Gets the color.java.lang.Boolean
ephemeral()
Gets whether this diagnostic is ephemeral.java.lang.String
message()
Gets the message.java.lang.String
prefix()
Gets the prefix.java.lang.String
severity()
Gets the severity, one of "info", "info#err", "warning", or "error".java.lang.String
streamId()
Gets the stream ID.java.lang.String
urn()
Gets the URN.
-
-
-
Method Detail
-
urn
@Nullable public java.lang.String urn()
Gets the URN.- Returns:
- the URN, may be null
-
prefix
@Nullable public java.lang.String prefix()
Gets the prefix.- Returns:
- the prefix, may be null
-
message
public java.lang.String message()
Gets the message.- Returns:
- the message
-
color
public java.lang.String color()
Gets the color.- Returns:
- the color
-
severity
public java.lang.String severity()
Gets the severity, one of "info", "info#err", "warning", or "error".- Returns:
- the severity
-
streamId
@Nullable public java.lang.String streamId()
Gets the stream ID.- Returns:
- the stream ID, may be null
-
ephemeral
@Nullable public java.lang.Boolean ephemeral()
Gets whether this diagnostic is ephemeral.- Returns:
- whether this diagnostic is ephemeral, may be null
-
-