@Stability(value=Stable) public static final class CfnIdentityPool.CognitoStreamsProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnIdentityPool.CognitoStreamsProperty>
CfnIdentityPool.CognitoStreamsProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnIdentityPool.CognitoStreamsProperty |
build()
Builds the configured instance.
|
CfnIdentityPool.CognitoStreamsProperty.Builder |
roleArn(String roleArn)
Sets the value of
CfnIdentityPool.CognitoStreamsProperty.getRoleArn() |
CfnIdentityPool.CognitoStreamsProperty.Builder |
streamingStatus(String streamingStatus)
Sets the value of
CfnIdentityPool.CognitoStreamsProperty.getStreamingStatus() |
CfnIdentityPool.CognitoStreamsProperty.Builder |
streamName(String streamName)
Sets the value of
CfnIdentityPool.CognitoStreamsProperty.getStreamName() |
@Stability(value=Stable) public CfnIdentityPool.CognitoStreamsProperty.Builder roleArn(String roleArn)
CfnIdentityPool.CognitoStreamsProperty.getRoleArn()roleArn - The Amazon Resource Name (ARN) of the role Amazon Cognito can assume to publish to the stream.
This role must grant access to Amazon Cognito (cognito-sync) to invoke PutRecord on your Amazon Cognito stream.this@Stability(value=Stable) public CfnIdentityPool.CognitoStreamsProperty.Builder streamingStatus(String streamingStatus)
CfnIdentityPool.CognitoStreamsProperty.getStreamingStatus()streamingStatus - Status of the Amazon Cognito streams.
Valid values are: ENABLED or DISABLED .this@Stability(value=Stable) public CfnIdentityPool.CognitoStreamsProperty.Builder streamName(String streamName)
CfnIdentityPool.CognitoStreamsProperty.getStreamName()streamName - The name of the Amazon Cognito stream to receive updates.
This stream must be in the developer's account and in the same Region as the identity pool.this@Stability(value=Stable) public CfnIdentityPool.CognitoStreamsProperty build()
build in interface software.amazon.jsii.Builder<CfnIdentityPool.CognitoStreamsProperty>CfnIdentityPool.CognitoStreamsPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.