public class UnsubscribeFromDatasetRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
A request to UnsubscribeFromDataset.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
datasetName
The name of the dataset from which to unsubcribe.
|
private java.lang.String |
deviceId
The unique ID generated for this device by Cognito.
|
private java.lang.String |
identityId
Unique ID for this identity.
|
private java.lang.String |
identityPoolId
A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon
Cognito.
|
NOOP
Constructor and Description |
---|
UnsubscribeFromDatasetRequest() |
Modifier and Type | Method and Description |
---|---|
UnsubscribeFromDatasetRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDatasetName()
The name of the dataset from which to unsubcribe.
|
java.lang.String |
getDeviceId()
The unique ID generated for this device by Cognito.
|
java.lang.String |
getIdentityId()
Unique ID for this identity.
|
java.lang.String |
getIdentityPoolId()
A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon
Cognito.
|
int |
hashCode() |
void |
setDatasetName(java.lang.String datasetName)
The name of the dataset from which to unsubcribe.
|
void |
setDeviceId(java.lang.String deviceId)
The unique ID generated for this device by Cognito.
|
void |
setIdentityId(java.lang.String identityId)
Unique ID for this identity.
|
void |
setIdentityPoolId(java.lang.String identityPoolId)
A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon
Cognito.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UnsubscribeFromDatasetRequest |
withDatasetName(java.lang.String datasetName)
The name of the dataset from which to unsubcribe.
|
UnsubscribeFromDatasetRequest |
withDeviceId(java.lang.String deviceId)
The unique ID generated for this device by Cognito.
|
UnsubscribeFromDatasetRequest |
withIdentityId(java.lang.String identityId)
Unique ID for this identity.
|
UnsubscribeFromDatasetRequest |
withIdentityPoolId(java.lang.String identityPoolId)
A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon
Cognito.
|
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
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.
private java.lang.String identityId
Unique ID for this identity.
private java.lang.String datasetName
The name of the dataset from which to unsubcribe.
private java.lang.String deviceId
The unique ID generated for this device by Cognito.
public void setIdentityPoolId(java.lang.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.
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 java.lang.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.
public UnsubscribeFromDatasetRequest withIdentityPoolId(java.lang.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.
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 void setIdentityId(java.lang.String identityId)
Unique ID for this identity.
identityId
- Unique ID for this identity.public java.lang.String getIdentityId()
Unique ID for this identity.
public UnsubscribeFromDatasetRequest withIdentityId(java.lang.String identityId)
Unique ID for this identity.
identityId
- Unique ID for this identity.public void setDatasetName(java.lang.String datasetName)
The name of the dataset from which to unsubcribe.
datasetName
- The name of the dataset from which to unsubcribe.public java.lang.String getDatasetName()
The name of the dataset from which to unsubcribe.
public UnsubscribeFromDatasetRequest withDatasetName(java.lang.String datasetName)
The name of the dataset from which to unsubcribe.
datasetName
- The name of the dataset from which to unsubcribe.public void setDeviceId(java.lang.String deviceId)
The unique ID generated for this device by Cognito.
deviceId
- The unique ID generated for this device by Cognito.public java.lang.String getDeviceId()
The unique ID generated for this device by Cognito.
public UnsubscribeFromDatasetRequest withDeviceId(java.lang.String deviceId)
The unique ID generated for this device by Cognito.
deviceId
- The unique ID generated for this device by Cognito.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 UnsubscribeFromDatasetRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()