Class EventDescription
- java.lang.Object
-
- software.amazon.awssdk.services.elasticbeanstalk.model.EventDescription
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EventDescription.Builder,EventDescription>
@Generated("software.amazon.awssdk:codegen") public final class EventDescription extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EventDescription.Builder,EventDescription>
Describes an event.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEventDescription.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringapplicationName()The application associated with the event.static EventDescription.Builderbuilder()StringenvironmentName()The name of the environment associated with this event.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)InstanteventDate()The date when the event occurred.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringmessage()The event message.StringplatformArn()The ARN of the platform version.StringrequestId()The web service request ID for the activity of this event.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends EventDescription.Builder>serializableBuilderClass()EventSeverityseverity()The severity level of this event.StringseverityAsString()The severity level of this event.StringtemplateName()The name of the configuration associated with this event.EventDescription.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringversionLabel()The release label for the application version associated with this event.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
eventDate
public final Instant eventDate()
The date when the event occurred.
- Returns:
- The date when the event occurred.
-
message
public final String message()
The event message.
- Returns:
- The event message.
-
applicationName
public final String applicationName()
The application associated with the event.
- Returns:
- The application associated with the event.
-
versionLabel
public final String versionLabel()
The release label for the application version associated with this event.
- Returns:
- The release label for the application version associated with this event.
-
templateName
public final String templateName()
The name of the configuration associated with this event.
- Returns:
- The name of the configuration associated with this event.
-
environmentName
public final String environmentName()
The name of the environment associated with this event.
- Returns:
- The name of the environment associated with this event.
-
platformArn
public final String platformArn()
The ARN of the platform version.
- Returns:
- The ARN of the platform version.
-
requestId
public final String requestId()
The web service request ID for the activity of this event.
- Returns:
- The web service request ID for the activity of this event.
-
severity
public final EventSeverity severity()
The severity level of this event.
If the service returns an enum value that is not available in the current SDK version,
severitywill returnEventSeverity.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromseverityAsString().- Returns:
- The severity level of this event.
- See Also:
EventSeverity
-
severityAsString
public final String severityAsString()
The severity level of this event.
If the service returns an enum value that is not available in the current SDK version,
severitywill returnEventSeverity.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromseverityAsString().- Returns:
- The severity level of this event.
- See Also:
EventSeverity
-
toBuilder
public EventDescription.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EventDescription.Builder,EventDescription>
-
builder
public static EventDescription.Builder builder()
-
serializableBuilderClass
public static Class<? extends EventDescription.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-