@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) |
boolean |
equalsBySdkFields(Object obj) |
String |
eventBusName()
The name or ARN of the event bus to receive the event.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasResources()
Returns true if the Resources property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
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() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic Instant time()
public String source()
The source of the event.
public boolean hasResources()
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.
You can use hasResources() to see if a value was sent in this field.
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 String eventBusName()
The name or ARN of the event bus to receive the event. Only the rules that are associated with this event bus are used to match the event. If you omit this, the default event bus is used.
public PutEventsRequestEntry.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PutEventsRequestEntry.Builder,PutEventsRequestEntry>public static PutEventsRequestEntry.Builder builder()
public static Class<? extends PutEventsRequestEntry.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.