@Generated(value="software.amazon.awssdk:codegen") public final class ServiceEvent extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ServiceEvent.Builder,ServiceEvent>
The details for an event that's associated with a service.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ServiceEvent.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ServiceEvent.Builder |
builder() |
Instant |
createdAt()
The Unix timestamp for the time when the event was triggered.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The ID string for the event.
|
String |
message()
The event message.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ServiceEvent.Builder> |
serializableBuilderClass() |
ServiceEvent.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String id()
The ID string for the event.
public final Instant createdAt()
The Unix timestamp for the time when the event was triggered.
public final String message()
The event message.
public ServiceEvent.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ServiceEvent.Builder,ServiceEvent>public static ServiceEvent.Builder builder()
public static Class<? extends ServiceEvent.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.