@Generated(value="software.amazon.awssdk:codegen") public final class PutEventsRequest extends CloudWatchEventsRequest implements ToCopyableBuilder<PutEventsRequest.Builder,PutEventsRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
PutEventsRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static PutEventsRequest.Builder |
builder() |
List<PutEventsRequestEntry> |
entries()
The entry that defines an event in your system.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasEntries()
Returns true if the Entries property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends PutEventsRequest.Builder> |
serializableBuilderClass() |
PutEventsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic boolean hasEntries()
public List<PutEventsRequestEntry> entries()
The entry that defines an event in your system. You can specify several parameters for the entry such as the source and type of the event, resources associated with the event, and so on.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasEntries() to see if a value was sent in this field.
public PutEventsRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PutEventsRequest.Builder,PutEventsRequest>toBuilder in class CloudWatchEventsRequestpublic static PutEventsRequest.Builder builder()
public static Class<? extends PutEventsRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.