Class PutEventsRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.cloudwatchevents.model.PutEventsRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class PutEventsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Container for the parameters to the PutEvents operation.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description PutEventsRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PutEventsRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)List<PutEventsRequestEntry>getEntries()The entry that defines an event in your system.inthashCode()voidsetEntries(Collection<PutEventsRequestEntry> entries)The entry that defines an event in your system.StringtoString()Returns a string representation of this object; useful for testing and debugging.PutEventsRequestwithEntries(PutEventsRequestEntry... entries)The entry that defines an event in your system.PutEventsRequestwithEntries(Collection<PutEventsRequestEntry> entries)The entry that defines an event in your system.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
-
-
-
Method Detail
-
getEntries
public 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.
- Returns:
- 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.
-
setEntries
public void setEntries(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.
- Parameters:
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.
-
withEntries
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)orwithEntries(java.util.Collection)if you want to override the existing values.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withEntries
public PutEventsRequest withEntries(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public PutEventsRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-