@Generated(value="software.amazon.awssdk:codegen") public class ServiceEvent extends Object implements StructuredPojo, 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.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
message()
The event message.
|
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()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.