public class SetCognitoEventsRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
A request to configure Cognito Events"
"Modifier and Type | Field and Description |
---|---|
private SdkInternalMap<java.lang.String,java.lang.String> |
events
The events to configure
|
private java.lang.String |
identityPoolId
The Cognito Identity Pool to use when configuring Cognito Events
|
NOOP
Constructor and Description |
---|
SetCognitoEventsRequest() |
Modifier and Type | Method and Description |
---|---|
SetCognitoEventsRequest |
addEventsEntry(java.lang.String key,
java.lang.String value) |
SetCognitoEventsRequest |
clearEventsEntries()
Removes all the entries added into Events.
|
SetCognitoEventsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.util.Map<java.lang.String,java.lang.String> |
getEvents()
The events to configure
|
java.lang.String |
getIdentityPoolId()
The Cognito Identity Pool to use when configuring Cognito Events
|
int |
hashCode() |
void |
setEvents(java.util.Map<java.lang.String,java.lang.String> events)
The events to configure
|
void |
setIdentityPoolId(java.lang.String identityPoolId)
The Cognito Identity Pool to use when configuring Cognito Events
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SetCognitoEventsRequest |
withEvents(java.util.Map<java.lang.String,java.lang.String> events)
The events to configure
|
SetCognitoEventsRequest |
withIdentityPoolId(java.lang.String identityPoolId)
The Cognito Identity Pool to use when configuring Cognito Events
|
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
private java.lang.String identityPoolId
The Cognito Identity Pool to use when configuring Cognito Events
private SdkInternalMap<java.lang.String,java.lang.String> events
The events to configure
public void setIdentityPoolId(java.lang.String identityPoolId)
The Cognito Identity Pool to use when configuring Cognito Events
identityPoolId
- The Cognito Identity Pool to use when configuring Cognito Eventspublic java.lang.String getIdentityPoolId()
The Cognito Identity Pool to use when configuring Cognito Events
public SetCognitoEventsRequest withIdentityPoolId(java.lang.String identityPoolId)
The Cognito Identity Pool to use when configuring Cognito Events
identityPoolId
- The Cognito Identity Pool to use when configuring Cognito Eventspublic java.util.Map<java.lang.String,java.lang.String> getEvents()
The events to configure
public void setEvents(java.util.Map<java.lang.String,java.lang.String> events)
The events to configure
events
- The events to configurepublic SetCognitoEventsRequest withEvents(java.util.Map<java.lang.String,java.lang.String> events)
The events to configure
events
- The events to configurepublic SetCognitoEventsRequest addEventsEntry(java.lang.String key, java.lang.String value)
public SetCognitoEventsRequest clearEventsEntries()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public SetCognitoEventsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()