@Generated(value="software.amazon.awssdk:codegen") public final class PutEventsRequestEntry extends Object implements SdkPojo, Serializable, 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()
A valid JSON string.
|
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() |
List<String> |
resources()
AWS resources, identified by Amazon Resource Name (ARN), which the event primarily concerns.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PutEventsRequestEntry.Builder> |
serializableBuilderClass() |
String |
source()
The source of the event.
|
Instant |
time()
The time stamp 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. This field is required.
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()
A valid JSON string. There is no other schema imposed. The JSON string may contain fields and nested subobjects.
public PutEventsRequestEntry.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<PutEventsRequestEntry.Builder,PutEventsRequestEntry>
public static PutEventsRequestEntry.Builder builder()
public static Class<? extends PutEventsRequestEntry.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.