public class SubscribeToDatasetRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
A request to SubscribeToDatasetRequest.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
datasetName
The name of the dataset to subcribe to.
|
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 |
---|
SubscribeToDatasetRequest() |
Modifier and Type | Method and Description |
---|---|
SubscribeToDatasetRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDatasetName()
The name of the dataset to subcribe to.
|
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 to subcribe to.
|
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.
|
SubscribeToDatasetRequest |
withDatasetName(java.lang.String datasetName)
The name of the dataset to subcribe to.
|
SubscribeToDatasetRequest |
withDeviceId(java.lang.String deviceId)
The unique ID generated for this device by Cognito.
|
SubscribeToDatasetRequest |
withIdentityId(java.lang.String identityId)
Unique ID for this identity.
|
SubscribeToDatasetRequest |
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 the identity belongs.
private java.lang.String identityId
Unique ID for this identity.
private java.lang.String datasetName
The name of the dataset to subcribe to.
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 the 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 the 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 the identity belongs.
public SubscribeToDatasetRequest 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 the 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 the 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 SubscribeToDatasetRequest 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 to subcribe to.
datasetName
- The name of the dataset to subcribe to.public java.lang.String getDatasetName()
The name of the dataset to subcribe to.
public SubscribeToDatasetRequest withDatasetName(java.lang.String datasetName)
The name of the dataset to subcribe to.
datasetName
- The name of the dataset to subcribe to.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 SubscribeToDatasetRequest 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 SubscribeToDatasetRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()