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 SetCognitoEventsRequestaddEventsEntry(String key, String value)SetCognitoEventsRequestclearEventsEntries()Removes all the entries added into Events.SetCognitoEventsRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)Map<String,String>getEvents()The events to configureStringgetIdentityPoolId()The Cognito Identity Pool to use when configuring Cognito EventsinthashCode()voidsetEvents(Map<String,String> events)The events to configurevoidsetIdentityPoolId(String identityPoolId)The Cognito Identity Pool to use when configuring Cognito EventsStringtoString()Returns a string representation of this object; useful for testing and debugging.SetCognitoEventsRequestwithEvents(Map<String,String> events)The events to configureSetCognitoEventsRequestwithIdentityPoolId(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public SetCognitoEventsRequest 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()
-
-