Class CfnInstanceStorageConfigProps.Builder
java.lang.Object
software.amazon.awscdk.services.connect.CfnInstanceStorageConfigProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInstanceStorageConfigProps>
- Enclosing interface:
CfnInstanceStorageConfigProps
@Stability(Stable)
public static final class CfnInstanceStorageConfigProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnInstanceStorageConfigProps>
A builder for
CfnInstanceStorageConfigProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.instanceArn
(String instanceArn) Sets the value ofCfnInstanceStorageConfigProps.getInstanceArn()
kinesisFirehoseConfig
(IResolvable kinesisFirehoseConfig) Sets the value ofCfnInstanceStorageConfigProps.getKinesisFirehoseConfig()
kinesisFirehoseConfig
(CfnInstanceStorageConfig.KinesisFirehoseConfigProperty kinesisFirehoseConfig) Sets the value ofCfnInstanceStorageConfigProps.getKinesisFirehoseConfig()
kinesisStreamConfig
(IResolvable kinesisStreamConfig) Sets the value ofCfnInstanceStorageConfigProps.getKinesisStreamConfig()
kinesisStreamConfig
(CfnInstanceStorageConfig.KinesisStreamConfigProperty kinesisStreamConfig) Sets the value ofCfnInstanceStorageConfigProps.getKinesisStreamConfig()
kinesisVideoStreamConfig
(IResolvable kinesisVideoStreamConfig) Sets the value ofCfnInstanceStorageConfigProps.getKinesisVideoStreamConfig()
kinesisVideoStreamConfig
(CfnInstanceStorageConfig.KinesisVideoStreamConfigProperty kinesisVideoStreamConfig) Sets the value ofCfnInstanceStorageConfigProps.getKinesisVideoStreamConfig()
resourceType
(String resourceType) Sets the value ofCfnInstanceStorageConfigProps.getResourceType()
s3Config
(IResolvable s3Config) Sets the value ofCfnInstanceStorageConfigProps.getS3Config()
Sets the value ofCfnInstanceStorageConfigProps.getS3Config()
storageType
(String storageType) Sets the value ofCfnInstanceStorageConfigProps.getStorageType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
instanceArn
Sets the value ofCfnInstanceStorageConfigProps.getInstanceArn()
- Parameters:
instanceArn
- The Amazon Resource Name (ARN) of the instance. This parameter is required.- Returns:
this
-
resourceType
Sets the value ofCfnInstanceStorageConfigProps.getResourceType()
- Parameters:
resourceType
- A valid resource type. This parameter is required. Following are the valid resource types:CHAT_TRANSCRIPTS
|CALL_RECORDINGS
|SCHEDULED_REPORTS
|MEDIA_STREAMS
|CONTACT_TRACE_RECORDS
|AGENT_EVENTS
- Returns:
this
-
storageType
Sets the value ofCfnInstanceStorageConfigProps.getStorageType()
- Parameters:
storageType
- A valid storage type. This parameter is required.- Returns:
this
-
kinesisFirehoseConfig
@Stability(Stable) public CfnInstanceStorageConfigProps.Builder kinesisFirehoseConfig(IResolvable kinesisFirehoseConfig) Sets the value ofCfnInstanceStorageConfigProps.getKinesisFirehoseConfig()
- Parameters:
kinesisFirehoseConfig
- The configuration of the Kinesis Firehose delivery stream.- Returns:
this
-
kinesisFirehoseConfig
@Stability(Stable) public CfnInstanceStorageConfigProps.Builder kinesisFirehoseConfig(CfnInstanceStorageConfig.KinesisFirehoseConfigProperty kinesisFirehoseConfig) Sets the value ofCfnInstanceStorageConfigProps.getKinesisFirehoseConfig()
- Parameters:
kinesisFirehoseConfig
- The configuration of the Kinesis Firehose delivery stream.- Returns:
this
-
kinesisStreamConfig
@Stability(Stable) public CfnInstanceStorageConfigProps.Builder kinesisStreamConfig(IResolvable kinesisStreamConfig) Sets the value ofCfnInstanceStorageConfigProps.getKinesisStreamConfig()
- Parameters:
kinesisStreamConfig
- The configuration of the Kinesis data stream.- Returns:
this
-
kinesisStreamConfig
@Stability(Stable) public CfnInstanceStorageConfigProps.Builder kinesisStreamConfig(CfnInstanceStorageConfig.KinesisStreamConfigProperty kinesisStreamConfig) Sets the value ofCfnInstanceStorageConfigProps.getKinesisStreamConfig()
- Parameters:
kinesisStreamConfig
- The configuration of the Kinesis data stream.- Returns:
this
-
kinesisVideoStreamConfig
@Stability(Stable) public CfnInstanceStorageConfigProps.Builder kinesisVideoStreamConfig(IResolvable kinesisVideoStreamConfig) Sets the value ofCfnInstanceStorageConfigProps.getKinesisVideoStreamConfig()
- Parameters:
kinesisVideoStreamConfig
- The configuration of the Kinesis video stream.- Returns:
this
-
kinesisVideoStreamConfig
@Stability(Stable) public CfnInstanceStorageConfigProps.Builder kinesisVideoStreamConfig(CfnInstanceStorageConfig.KinesisVideoStreamConfigProperty kinesisVideoStreamConfig) Sets the value ofCfnInstanceStorageConfigProps.getKinesisVideoStreamConfig()
- Parameters:
kinesisVideoStreamConfig
- The configuration of the Kinesis video stream.- Returns:
this
-
s3Config
Sets the value ofCfnInstanceStorageConfigProps.getS3Config()
- Parameters:
s3Config
- The S3 bucket configuration.- Returns:
this
-
s3Config
@Stability(Stable) public CfnInstanceStorageConfigProps.Builder s3Config(CfnInstanceStorageConfig.S3ConfigProperty s3Config) Sets the value ofCfnInstanceStorageConfigProps.getS3Config()
- Parameters:
s3Config
- The S3 bucket configuration.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnInstanceStorageConfigProps>
- Returns:
- a new instance of
CfnInstanceStorageConfigProps
- Throws:
NullPointerException
- if any required attribute was not provided
-