@Generated(value="software.amazon.awssdk:codegen") public class PutEventsRequestEntry extends Object implements StructuredPojo, ToCopyableBuilder<PutEventsRequestEntry.Builder,PutEventsRequestEntry>
Represents an event to be submitted.
Modifier and Type | Class and Description |
---|---|
static interface |
PutEventsRequestEntry.Builder |
Modifier and Type | Method and Description |
---|---|
static PutEventsRequestEntry.Builder |
builder() |
String |
detail()
In the JSON sense, an object containing fields, which may also contain nested subobjects.
|
String |
detailType()
Free-form string used to decide what fields to expect in the event detail.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
List<String> |
resources()
AWS resources, identified by Amazon Resource Name (ARN), which the event primarily concerns.
|
static Class<? extends PutEventsRequestEntry.Builder> |
serializableBuilderClass() |
String |
source()
The source of the event.
|
Instant |
time()
The timestamp of the event, per RFC3339.
|
PutEventsRequestEntry.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public Instant time()
public String source()
The source of the event.
public List<String> resources()
AWS resources, identified by Amazon Resource Name (ARN), which the event primarily concerns. Any number, including zero, may be present.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String detailType()
Free-form string used to decide what fields to expect in the event detail.
public String detail()
In the JSON sense, an object containing fields, which may also contain nested subobjects. No constraints are imposed on its contents.
public PutEventsRequestEntry.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<PutEventsRequestEntry.Builder,PutEventsRequestEntry>
public static PutEventsRequestEntry.Builder builder()
public static Class<? extends PutEventsRequestEntry.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.