Class CfnInstanceStorageConfig.Builder
java.lang.Object
software.amazon.awscdk.services.connect.CfnInstanceStorageConfig.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInstanceStorageConfig>
- Enclosing class:
- CfnInstanceStorageConfig
@Stability(Stable)
public static final class CfnInstanceStorageConfig.Builder
extends Object
implements software.amazon.jsii.Builder<CfnInstanceStorageConfig>
A fluent builder for
CfnInstanceStorageConfig
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
instanceArn
(String instanceArn) The Amazon Resource Name (ARN) of the instance.kinesisFirehoseConfig
(IResolvable kinesisFirehoseConfig) The configuration of the Kinesis Firehose delivery stream.kinesisFirehoseConfig
(CfnInstanceStorageConfig.KinesisFirehoseConfigProperty kinesisFirehoseConfig) The configuration of the Kinesis Firehose delivery stream.kinesisStreamConfig
(IResolvable kinesisStreamConfig) The configuration of the Kinesis data stream.kinesisStreamConfig
(CfnInstanceStorageConfig.KinesisStreamConfigProperty kinesisStreamConfig) The configuration of the Kinesis data stream.kinesisVideoStreamConfig
(IResolvable kinesisVideoStreamConfig) The configuration of the Kinesis video stream.kinesisVideoStreamConfig
(CfnInstanceStorageConfig.KinesisVideoStreamConfigProperty kinesisVideoStreamConfig) The configuration of the Kinesis video stream.resourceType
(String resourceType) A valid resource type.s3Config
(IResolvable s3Config) The S3 bucket configuration.The S3 bucket configuration.storageType
(String storageType) A valid storage type.
-
Method Details
-
create
@Stability(Stable) public static CfnInstanceStorageConfig.Builder create(Construct scope, String id) - Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnInstanceStorageConfig.Builder
.
-
instanceArn
The Amazon Resource Name (ARN) of the instance.- Parameters:
instanceArn
- The Amazon Resource Name (ARN) of the instance. This parameter is required.- Returns:
this
-
resourceType
A valid resource type.Following are the valid resource types:
CHAT_TRANSCRIPTS
|CALL_RECORDINGS
|SCHEDULED_REPORTS
|MEDIA_STREAMS
|CONTACT_TRACE_RECORDS
|AGENT_EVENTS
- Parameters:
resourceType
- A valid resource type. This parameter is required.- Returns:
this
-
storageType
A valid storage type.- Parameters:
storageType
- A valid storage type. This parameter is required.- Returns:
this
-
kinesisFirehoseConfig
@Stability(Stable) public CfnInstanceStorageConfig.Builder kinesisFirehoseConfig(IResolvable kinesisFirehoseConfig) The configuration of the Kinesis Firehose delivery stream.- Parameters:
kinesisFirehoseConfig
- The configuration of the Kinesis Firehose delivery stream. This parameter is required.- Returns:
this
-
kinesisFirehoseConfig
@Stability(Stable) public CfnInstanceStorageConfig.Builder kinesisFirehoseConfig(CfnInstanceStorageConfig.KinesisFirehoseConfigProperty kinesisFirehoseConfig) The configuration of the Kinesis Firehose delivery stream.- Parameters:
kinesisFirehoseConfig
- The configuration of the Kinesis Firehose delivery stream. This parameter is required.- Returns:
this
-
kinesisStreamConfig
@Stability(Stable) public CfnInstanceStorageConfig.Builder kinesisStreamConfig(IResolvable kinesisStreamConfig) The configuration of the Kinesis data stream.- Parameters:
kinesisStreamConfig
- The configuration of the Kinesis data stream. This parameter is required.- Returns:
this
-
kinesisStreamConfig
@Stability(Stable) public CfnInstanceStorageConfig.Builder kinesisStreamConfig(CfnInstanceStorageConfig.KinesisStreamConfigProperty kinesisStreamConfig) The configuration of the Kinesis data stream.- Parameters:
kinesisStreamConfig
- The configuration of the Kinesis data stream. This parameter is required.- Returns:
this
-
kinesisVideoStreamConfig
@Stability(Stable) public CfnInstanceStorageConfig.Builder kinesisVideoStreamConfig(IResolvable kinesisVideoStreamConfig) The configuration of the Kinesis video stream.- Parameters:
kinesisVideoStreamConfig
- The configuration of the Kinesis video stream. This parameter is required.- Returns:
this
-
kinesisVideoStreamConfig
@Stability(Stable) public CfnInstanceStorageConfig.Builder kinesisVideoStreamConfig(CfnInstanceStorageConfig.KinesisVideoStreamConfigProperty kinesisVideoStreamConfig) The configuration of the Kinesis video stream.- Parameters:
kinesisVideoStreamConfig
- The configuration of the Kinesis video stream. This parameter is required.- Returns:
this
-
s3Config
The S3 bucket configuration.- Parameters:
s3Config
- The S3 bucket configuration. This parameter is required.- Returns:
this
-
s3Config
@Stability(Stable) public CfnInstanceStorageConfig.Builder s3Config(CfnInstanceStorageConfig.S3ConfigProperty s3Config) The S3 bucket configuration.- Parameters:
s3Config
- The S3 bucket configuration. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnInstanceStorageConfig>
- Returns:
- a newly built instance of
CfnInstanceStorageConfig
.
-