Class UnsubscribeFromDatasetRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.cognitosync.model.UnsubscribeFromDatasetRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class UnsubscribeFromDatasetRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
A request to UnsubscribeFromDataset.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description UnsubscribeFromDatasetRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UnsubscribeFromDatasetRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetDatasetName()The name of the dataset from which to unsubcribe.StringgetDeviceId()The unique ID generated for this device by Cognito.StringgetIdentityId()Unique ID for this identity.StringgetIdentityPoolId()A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito.inthashCode()voidsetDatasetName(String datasetName)The name of the dataset from which to unsubcribe.voidsetDeviceId(String deviceId)The unique ID generated for this device by Cognito.voidsetIdentityId(String identityId)Unique ID for this identity.voidsetIdentityPoolId(String identityPoolId)A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito.StringtoString()Returns a string representation of this object; useful for testing and debugging.UnsubscribeFromDatasetRequestwithDatasetName(String datasetName)The name of the dataset from which to unsubcribe.UnsubscribeFromDatasetRequestwithDeviceId(String deviceId)The unique ID generated for this device by Cognito.UnsubscribeFromDatasetRequestwithIdentityId(String identityId)Unique ID for this identity.UnsubscribeFromDatasetRequestwithIdentityPoolId(String identityPoolId)A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito.-
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)
A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. The ID of the pool to which this identity belongs.
- Parameters:
identityPoolId- A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. The ID of the pool to which this identity belongs.
-
getIdentityPoolId
public String getIdentityPoolId()
A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. The ID of the pool to which this identity belongs.
- Returns:
- A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. The ID of the pool to which this identity belongs.
-
withIdentityPoolId
public UnsubscribeFromDatasetRequest withIdentityPoolId(String identityPoolId)
A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. The ID of the pool to which this identity belongs.
- Parameters:
identityPoolId- A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. The ID of the pool to which this identity belongs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setIdentityId
public void setIdentityId(String identityId)
Unique ID for this identity.
- Parameters:
identityId- Unique ID for this identity.
-
getIdentityId
public String getIdentityId()
Unique ID for this identity.
- Returns:
- Unique ID for this identity.
-
withIdentityId
public UnsubscribeFromDatasetRequest withIdentityId(String identityId)
Unique ID for this identity.
- Parameters:
identityId- Unique ID for this identity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDatasetName
public void setDatasetName(String datasetName)
The name of the dataset from which to unsubcribe.
- Parameters:
datasetName- The name of the dataset from which to unsubcribe.
-
getDatasetName
public String getDatasetName()
The name of the dataset from which to unsubcribe.
- Returns:
- The name of the dataset from which to unsubcribe.
-
withDatasetName
public UnsubscribeFromDatasetRequest withDatasetName(String datasetName)
The name of the dataset from which to unsubcribe.
- Parameters:
datasetName- The name of the dataset from which to unsubcribe.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDeviceId
public void setDeviceId(String deviceId)
The unique ID generated for this device by Cognito.
- Parameters:
deviceId- The unique ID generated for this device by Cognito.
-
getDeviceId
public String getDeviceId()
The unique ID generated for this device by Cognito.
- Returns:
- The unique ID generated for this device by Cognito.
-
withDeviceId
public UnsubscribeFromDatasetRequest withDeviceId(String deviceId)
The unique ID generated for this device by Cognito.
- Parameters:
deviceId- The unique ID generated for this device by Cognito.- 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public UnsubscribeFromDatasetRequest 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()
-
-