@Generated(value="software.amazon.awssdk:codegen") public final class ServiceEvent extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ServiceEvent.Builder,ServiceEvent>
Details on an event 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 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 of 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 String id()
The ID string of the event.
public Instant createdAt()
The Unix timestamp for when the event was triggered.
public 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 boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.