public class UnsubscribeFromDatasetRequest extends AmazonWebServiceRequest implements Serializable
UnsubscribeFromDataset operation.
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() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getDatasetName()
The name of the dataset from which to unsubcribe.
|
String |
getDeviceId()
The unique ID generated for this device by Cognito.
|
String |
getIdentityId()
Unique ID for this identity.
|
String |
getIdentityPoolId()
A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon
Cognito.
|
int |
hashCode() |
void |
setDatasetName(String datasetName)
The name of the dataset from which to unsubcribe.
|
void |
setDeviceId(String deviceId)
The unique ID generated for this device by Cognito.
|
void |
setIdentityId(String identityId)
Unique ID for this identity.
|
void |
setIdentityPoolId(String identityPoolId)
A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon
Cognito.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UnsubscribeFromDatasetRequest |
withDatasetName(String datasetName)
The name of the dataset from which to unsubcribe.
|
UnsubscribeFromDatasetRequest |
withDeviceId(String deviceId)
The unique ID generated for this device by Cognito.
|
UnsubscribeFromDatasetRequest |
withIdentityId(String identityId)
Unique ID for this identity.
|
UnsubscribeFromDatasetRequest |
withIdentityPoolId(String identityPoolId)
A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon
Cognito.
|
getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollectorpublic String getIdentityPoolId()
Constraints:
Length: 1 - 55
Pattern: [\w-]+:[0-9a-f-]+
public void setIdentityPoolId(String identityPoolId)
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)
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()
Constraints:
Length: 1 - 55
Pattern: [\w-]+:[0-9a-f-]+
public void setIdentityId(String identityId)
Constraints:
Length: 1 - 55
Pattern: [\w-]+:[0-9a-f-]+
identityId - Unique ID for this identity.public UnsubscribeFromDatasetRequest withIdentityId(String identityId)
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()
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_.:-]+
public void setDatasetName(String datasetName)
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_.:-]+
datasetName - The name of the dataset from which to unsubcribe.public UnsubscribeFromDatasetRequest withDatasetName(String datasetName)
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()
Constraints:
Length: 1 - 256
public void setDeviceId(String deviceId)
Constraints:
Length: 1 - 256
deviceId - The unique ID generated for this device by Cognito.public UnsubscribeFromDatasetRequest withDeviceId(String deviceId)
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 © 2016. All rights reserved.