@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CognitoStreams extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
CognitoStreams() |
Modifier and Type | Method and Description |
---|---|
CognitoStreams |
clone() |
boolean |
equals(Object obj) |
String |
getRoleArn()
The ARN of the role Amazon Cognito can assume in order to publish to the stream.
|
String |
getStreamingStatus()
Status of the Cognito streams.
|
String |
getStreamName()
The name of the Cognito stream to receive updates.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setRoleArn(String roleArn)
The ARN of the role Amazon Cognito can assume in order to publish to the stream.
|
void |
setStreamingStatus(StreamingStatus streamingStatus)
Status of the Cognito streams.
|
void |
setStreamingStatus(String streamingStatus)
Status of the Cognito streams.
|
void |
setStreamName(String streamName)
The name of the Cognito stream to receive updates.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CognitoStreams |
withRoleArn(String roleArn)
The ARN of the role Amazon Cognito can assume in order to publish to the stream.
|
CognitoStreams |
withStreamingStatus(StreamingStatus streamingStatus)
Status of the Cognito streams.
|
CognitoStreams |
withStreamingStatus(String streamingStatus)
Status of the Cognito streams.
|
CognitoStreams |
withStreamName(String streamName)
The name of the Cognito stream to receive updates.
|
public void setStreamName(String streamName)
streamName
- The name of the Cognito stream to receive updates. This stream must be in the developers account and in
the same region as the identity pool.public String getStreamName()
public CognitoStreams withStreamName(String streamName)
streamName
- The name of the Cognito stream to receive updates. This stream must be in the developers account and in
the same region as the identity pool.public void setRoleArn(String roleArn)
roleArn
- The ARN of the role Amazon Cognito can assume in order to publish to the stream. This role must grant
access to Amazon Cognito (cognito-sync) to invoke PutRecord on your Cognito stream.public String getRoleArn()
public CognitoStreams withRoleArn(String roleArn)
roleArn
- The ARN of the role Amazon Cognito can assume in order to publish to the stream. This role must grant
access to Amazon Cognito (cognito-sync) to invoke PutRecord on your Cognito stream.public void setStreamingStatus(String streamingStatus)
ENABLED - Streaming of updates to identity pool is enabled.
DISABLED - Streaming of updates to identity pool is disabled. Bulk publish will also fail if StreamingStatus is DISABLED.
streamingStatus
- Status of the Cognito streams. Valid values are:
ENABLED - Streaming of updates to identity pool is enabled.
DISABLED - Streaming of updates to identity pool is disabled. Bulk publish will also fail if StreamingStatus is DISABLED.
StreamingStatus
public String getStreamingStatus()
ENABLED - Streaming of updates to identity pool is enabled.
DISABLED - Streaming of updates to identity pool is disabled. Bulk publish will also fail if StreamingStatus is DISABLED.
ENABLED - Streaming of updates to identity pool is enabled.
DISABLED - Streaming of updates to identity pool is disabled. Bulk publish will also fail if StreamingStatus is DISABLED.
StreamingStatus
public CognitoStreams withStreamingStatus(String streamingStatus)
ENABLED - Streaming of updates to identity pool is enabled.
DISABLED - Streaming of updates to identity pool is disabled. Bulk publish will also fail if StreamingStatus is DISABLED.
streamingStatus
- Status of the Cognito streams. Valid values are:
ENABLED - Streaming of updates to identity pool is enabled.
DISABLED - Streaming of updates to identity pool is disabled. Bulk publish will also fail if StreamingStatus is DISABLED.
StreamingStatus
public void setStreamingStatus(StreamingStatus streamingStatus)
ENABLED - Streaming of updates to identity pool is enabled.
DISABLED - Streaming of updates to identity pool is disabled. Bulk publish will also fail if StreamingStatus is DISABLED.
streamingStatus
- Status of the Cognito streams. Valid values are:
ENABLED - Streaming of updates to identity pool is enabled.
DISABLED - Streaming of updates to identity pool is disabled. Bulk publish will also fail if StreamingStatus is DISABLED.
StreamingStatus
public CognitoStreams withStreamingStatus(StreamingStatus streamingStatus)
ENABLED - Streaming of updates to identity pool is enabled.
DISABLED - Streaming of updates to identity pool is disabled. Bulk publish will also fail if StreamingStatus is DISABLED.
streamingStatus
- Status of the Cognito streams. Valid values are:
ENABLED - Streaming of updates to identity pool is enabled.
DISABLED - Streaming of updates to identity pool is disabled. Bulk publish will also fail if StreamingStatus is DISABLED.
StreamingStatus
public String toString()
toString
in class Object
Object.toString()
public CognitoStreams clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.