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:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description SetCognitoEventsRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SetCognitoEventsRequest
addEventsEntry(String key, String value)
SetCognitoEventsRequest
clearEventsEntries()
Removes all the entries added into Events.SetCognitoEventsRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
Map<String,String>
getEvents()
The events to configureString
getIdentityPoolId()
The Cognito Identity Pool to use when configuring Cognito Eventsint
hashCode()
void
setEvents(Map<String,String> events)
The events to configurevoid
setIdentityPoolId(String identityPoolId)
The Cognito Identity Pool to use when configuring Cognito EventsString
toString()
Returns a string representation of this object; useful for testing and debugging.SetCognitoEventsRequest
withEvents(Map<String,String> events)
The events to configureSetCognitoEventsRequest
withIdentityPoolId(String identityPoolId)
The Cognito Identity Pool to use when configuring Cognito Events-
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
-
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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
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 classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-