Class SubscribeToDatasetRequest
- All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable
A request to SubscribeToDatasetRequest.
- See Also:
-
Field Summary
Fields inherited from class AmazonWebServiceRequest
NOOP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a shallow clone of this request.booleanThe name of the dataset to subcribe to.The unique ID generated for this device by Cognito.Unique ID for this identity.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 to subcribe to.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.toString()Returns a string representation of this object; useful for testing and debugging.withDatasetName(String datasetName) The name of the dataset to subcribe to.withDeviceId(String deviceId) The unique ID generated for this device by Cognito.withIdentityId(String identityId) Unique ID for this identity.withIdentityPoolId(String identityPoolId) A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito.Methods inherited from class 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
-
Constructor Details
-
SubscribeToDatasetRequest
public SubscribeToDatasetRequest()
-
-
Method Details
-
setIdentityPoolId
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.
- 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 the identity belongs.
-
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.
- 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 the identity belongs.
-
withIdentityPoolId
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.
- 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 the identity belongs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setIdentityId
Unique ID for this identity.
- Parameters:
identityId- Unique ID for this identity.
-
getIdentityId
-
withIdentityId
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
The name of the dataset to subcribe to.
- Parameters:
datasetName- The name of the dataset to subcribe to.
-
getDatasetName
The name of the dataset to subcribe to.
- Returns:
- The name of the dataset to subcribe to.
-
withDatasetName
The name of the dataset to subcribe to.
- Parameters:
datasetName- The name of the dataset to subcribe to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDeviceId
The unique ID generated for this device by Cognito.
- Parameters:
deviceId- The unique ID generated for this device by Cognito.
-
getDeviceId
The unique ID generated for this device by Cognito.
- Returns:
- The unique ID generated for this device by Cognito.
-
withDeviceId
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
-
equals
-
hashCode
-
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:
-