@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) |
<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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public 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()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ServiceEvent.Builder,ServiceEvent>
public static ServiceEvent.Builder builder()
public static Class<? extends ServiceEvent.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.