@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, wait
copy
public final String id()
The ID string of the event.
public final Instant createdAt()
The Unix timestamp for 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 SdkPojo
public final String toString()
Copyright © 2021. All rights reserved.