Class SetCognitoEventsRequest

java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.cognitosync.model.SetCognitoEventsRequest
All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable

public class SetCognitoEventsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable

A request to configure Cognito Events"

"
See Also:
  • Constructor Details

    • SetCognitoEventsRequest

      public SetCognitoEventsRequest()
  • Method Details

    • setIdentityPoolId

      public void setIdentityPoolId(String identityPoolId)

      The Cognito Identity Pool to use when configuring Cognito Events

      Parameters:
      identityPoolId - The Cognito Identity Pool to use when configuring Cognito Events
    • getIdentityPoolId

      public String getIdentityPoolId()

      The Cognito Identity Pool to use when configuring Cognito Events

      Returns:
      The Cognito Identity Pool to use when configuring Cognito Events
    • withIdentityPoolId

      public SetCognitoEventsRequest withIdentityPoolId(String identityPoolId)

      The Cognito Identity Pool to use when configuring Cognito Events

      Parameters:
      identityPoolId - The Cognito Identity Pool to use when configuring Cognito Events
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • getEvents

      public Map<String,String> getEvents()

      The events to configure

      Returns:
      The events to configure
    • setEvents

      public void setEvents(Map<String,String> events)

      The events to configure

      Parameters:
      events - The events to configure
    • withEvents

      public SetCognitoEventsRequest withEvents(Map<String,String> events)

      The events to configure

      Parameters:
      events - The events to configure
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • addEventsEntry

      public SetCognitoEventsRequest addEventsEntry(String key, String value)
    • clearEventsEntries

      public SetCognitoEventsRequest clearEventsEntries()
      Removes all the entries added into Events. <p> 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 SetCognitoEventsRequest 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: