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:
  • Constructor Details

    • PutEventsRequest

      public PutEventsRequest()
  • Method Details

    • 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) or withEntries(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:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public PutEventsRequest clone()
      Description copied from class: AmazonWebServiceRequest
      Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.
      Overrides:
      clone in class AmazonWebServiceRequest
      See Also: