Package com.pulumi.automation.events
Class DiagnosticEvent
- java.lang.Object
 - 
- com.pulumi.automation.events.DiagnosticEvent
 
 
- 
public class DiagnosticEvent extends java.lang.ObjectDiagnosticEventis 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.Stringcolor()Gets the color.java.lang.Booleanephemeral()Gets whether this diagnostic is ephemeral.java.lang.Stringmessage()Gets the message.java.lang.Stringprefix()Gets the prefix.java.lang.Stringseverity()Gets the severity, one of "info", "info#err", "warning", or "error".java.lang.StringstreamId()Gets the stream ID.java.lang.Stringurn()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
 
 
 - 
 
 -