public class PutEventsRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Container for the parameters to the PutEvents operation.
Modifier and Type | Field and Description |
---|---|
private java.util.List<PutEventsRequestEntry> |
entries
The entry that defines an event in your system.
|
NOOP
Constructor and Description |
---|
PutEventsRequest() |
Modifier and Type | Method and Description |
---|---|
PutEventsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.util.List<PutEventsRequestEntry> |
getEntries()
The entry that defines an event in your system.
|
int |
hashCode() |
void |
setEntries(java.util.Collection<PutEventsRequestEntry> entries)
The entry that defines an event in your system.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
PutEventsRequest |
withEntries(java.util.Collection<PutEventsRequestEntry> entries)
The entry that defines an event in your system.
|
PutEventsRequest |
withEntries(PutEventsRequestEntry... entries)
The entry that defines an event in your system.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.util.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.
public java.util.List<PutEventsRequestEntry> getEntries()
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.
public void setEntries(java.util.Collection<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.
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.public PutEventsRequest withEntries(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.
NOTE: This method appends the values to the existing list (if
any). Use setEntries(java.util.Collection)
or
withEntries(java.util.Collection)
if you want to override the
existing values.
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.public PutEventsRequest withEntries(java.util.Collection<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.
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.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public PutEventsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()