public class PutEventsRequest extends AmazonWebServiceRequest implements java.io.Serializable
PutEvents operation.
Record a batch of events
| Constructor and Description |
|---|
PutEventsRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getClientContext()
Returns the value of the ClientContext property for this object.
|
java.lang.String |
getClientContextEncoding()
Returns the value of the ClientContextEncoding property for this
object.
|
java.util.List<Event> |
getEvents()
Returns the value of the Events property for this object.
|
int |
hashCode() |
void |
setClientContext(java.lang.String clientContext)
Sets the value of the ClientContext property for this object.
|
void |
setClientContextEncoding(java.lang.String clientContextEncoding)
Sets the value of the ClientContextEncoding property for this object.
|
void |
setEvents(java.util.Collection<Event> events)
Sets the value of the Events property for this object.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
PutEventsRequest |
withClientContext(java.lang.String clientContext)
Sets the value of the ClientContext property for this object.
|
PutEventsRequest |
withClientContextEncoding(java.lang.String clientContextEncoding)
Sets the value of the ClientContextEncoding property for this object.
|
PutEventsRequest |
withEvents(java.util.Collection<Event> events)
Sets the value of the Events property for this object.
|
PutEventsRequest |
withEvents(Event... events)
Sets the value of the Events property for this object.
|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollectorpublic java.util.List<Event> getEvents()
public void setEvents(java.util.Collection<Event> events)
events - The new value for the Events property for this object.public PutEventsRequest withEvents(Event... events)
Returns a reference to this object so that method calls can be chained together.
events - The new value for the Events property for this object.public PutEventsRequest withEvents(java.util.Collection<Event> events)
Returns a reference to this object so that method calls can be chained together.
events - The new value for the Events property for this object.public java.lang.String getClientContext()
public void setClientContext(java.lang.String clientContext)
clientContext - The new value for the ClientContext property for this object.public PutEventsRequest withClientContext(java.lang.String clientContext)
Returns a reference to this object so that method calls can be chained together.
clientContext - The new value for the ClientContext property for this object.public java.lang.String getClientContextEncoding()
public void setClientContextEncoding(java.lang.String clientContextEncoding)
clientContextEncoding - The new value for the ClientContextEncoding property for this object.public PutEventsRequest withClientContextEncoding(java.lang.String clientContextEncoding)
Returns a reference to this object so that method calls can be chained together.
clientContextEncoding - The new value for the ClientContextEncoding property for this object.public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object