@Generated(value="software.amazon.awssdk:codegen") public final class PutPartnerEventsRequestEntry extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PutPartnerEventsRequestEntry.Builder,PutPartnerEventsRequestEntry>
The details about an event generated by an SaaS partner.
| Modifier and Type | Class and Description |
|---|---|
static interface |
PutPartnerEventsRequestEntry.Builder |
| Modifier and Type | Method and Description |
|---|---|
static PutPartnerEventsRequestEntry.Builder |
builder() |
String |
detail()
A valid JSON string.
|
String |
detailType()
A free-form string used to decide what fields to expect in the event detail.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<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 PutPartnerEventsRequestEntry.Builder> |
serializableBuilderClass() |
String |
source()
The event source that is generating the evntry.
|
Instant |
time()
The date and time of the event.
|
PutPartnerEventsRequestEntry.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic Instant time()
The date and time of the event.
public String source()
The event source that is generating the evntry.
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()
A 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 PutPartnerEventsRequestEntry.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PutPartnerEventsRequestEntry.Builder,PutPartnerEventsRequestEntry>public static PutPartnerEventsRequestEntry.Builder builder()
public static Class<? extends PutPartnerEventsRequestEntry.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.