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 Details

    • create

      @Stability(Stable) public static CfnInstanceStorageConfig.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnInstanceStorageConfig.Builder.
    • instanceArn

      @Stability(Stable) public CfnInstanceStorageConfig.Builder instanceArn(String 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

      @Stability(Stable) public CfnInstanceStorageConfig.Builder resourceType(String 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

      @Stability(Stable) public CfnInstanceStorageConfig.Builder storageType(String 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

      @Stability(Stable) public CfnInstanceStorageConfig.Builder s3Config(IResolvable 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

      @Stability(Stable) public CfnInstanceStorageConfig build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnInstanceStorageConfig>
      Returns:
      a newly built instance of CfnInstanceStorageConfig.