@Deprecated public class UnsubscribeFromDatasetRequest extends AmazonWebServiceRequest implements Serializable
Unsubscribes from receiving notifications when a dataset is modified by another device.
This API can only be called with temporary credentials provided by Cognito Identity. You cannot call this API with developer credentials.
| Constructor and Description |
|---|
UnsubscribeFromDatasetRequest()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Deprecated.
|
String |
getDatasetName()
Deprecated.
The name of the dataset from which to unsubcribe.
|
String |
getDeviceId()
Deprecated.
The unique ID generated for this device by Cognito.
|
String |
getIdentityId()
Deprecated.
Unique ID for this identity.
|
String |
getIdentityPoolId()
Deprecated.
A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon
Cognito.
|
int |
hashCode()
Deprecated.
|
void |
setDatasetName(String datasetName)
Deprecated.
The name of the dataset from which to unsubcribe.
|
void |
setDeviceId(String deviceId)
Deprecated.
The unique ID generated for this device by Cognito.
|
void |
setIdentityId(String identityId)
Deprecated.
Unique ID for this identity.
|
void |
setIdentityPoolId(String identityPoolId)
Deprecated.
A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon
Cognito.
|
String |
toString()
Deprecated.
Returns a string representation of this object; useful for testing and
debugging.
|
UnsubscribeFromDatasetRequest |
withDatasetName(String datasetName)
Deprecated.
The name of the dataset from which to unsubcribe.
|
UnsubscribeFromDatasetRequest |
withDeviceId(String deviceId)
Deprecated.
The unique ID generated for this device by Cognito.
|
UnsubscribeFromDatasetRequest |
withIdentityId(String identityId)
Deprecated.
Unique ID for this identity.
|
UnsubscribeFromDatasetRequest |
withIdentityPoolId(String identityPoolId)
Deprecated.
A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon
Cognito.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic 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.
Constraints:
Length: 1 - 55
Pattern: [\w-]+:[0-9a-f-]+
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.
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.
Constraints:
Length: 1 - 55
Pattern: [\w-]+:[0-9a-f-]+
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.
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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 55
Pattern: [\w-]+:[0-9a-f-]+
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.
public String getIdentityId()
Unique ID for this identity.
Constraints:
Length: 1 - 55
Pattern: [\w-]+:[0-9a-f-]+
Unique ID for this identity.
public void setIdentityId(String identityId)
Unique ID for this identity.
Constraints:
Length: 1 - 55
Pattern: [\w-]+:[0-9a-f-]+
identityId - Unique ID for this identity.
public UnsubscribeFromDatasetRequest withIdentityId(String identityId)
Unique ID for this identity.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 55
Pattern: [\w-]+:[0-9a-f-]+
identityId - Unique ID for this identity.
public String getDatasetName()
The name of the dataset from which to unsubcribe.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_.:-]+
The name of the dataset from which to unsubcribe.
public void setDatasetName(String datasetName)
The name of the dataset from which to unsubcribe.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_.:-]+
datasetName - The name of the dataset from which to unsubcribe.
public UnsubscribeFromDatasetRequest withDatasetName(String datasetName)
The name of the dataset from which to unsubcribe.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_.:-]+
datasetName - The name of the dataset from which to unsubcribe.
public String getDeviceId()
The unique ID generated for this device by Cognito.
Constraints:
Length: 1 - 256
The unique ID generated for this device by Cognito.
public void setDeviceId(String deviceId)
The unique ID generated for this device by Cognito.
Constraints:
Length: 1 - 256
deviceId - The unique ID generated for this device by Cognito.
public UnsubscribeFromDatasetRequest withDeviceId(String deviceId)
The unique ID generated for this device by Cognito.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
deviceId - The unique ID generated for this device by Cognito.
public String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.