All Downloads are FREE. Search and download functionalities are using the official Maven repository.

src.index.DatastreamArgs.scala Maven / Gradle / Ivy

The newest version!
package besom.api.akamai

final case class DatastreamArgs private(
  active: besom.types.Output[Boolean],
  azureConnector: besom.types.Output[scala.Option[besom.api.akamai.inputs.DatastreamAzureConnectorArgs]],
  collectMidgress: besom.types.Output[scala.Option[Boolean]],
  contractId: besom.types.Output[String],
  datadogConnector: besom.types.Output[scala.Option[besom.api.akamai.inputs.DatastreamDatadogConnectorArgs]],
  datasetFields: besom.types.Output[scala.collection.immutable.List[Int]],
  deliveryConfiguration: besom.types.Output[besom.api.akamai.inputs.DatastreamDeliveryConfigurationArgs],
  elasticsearchConnector: besom.types.Output[scala.Option[besom.api.akamai.inputs.DatastreamElasticsearchConnectorArgs]],
  gcsConnector: besom.types.Output[scala.Option[besom.api.akamai.inputs.DatastreamGcsConnectorArgs]],
  groupId: besom.types.Output[String],
  httpsConnector: besom.types.Output[scala.Option[besom.api.akamai.inputs.DatastreamHttpsConnectorArgs]],
  logglyConnector: besom.types.Output[scala.Option[besom.api.akamai.inputs.DatastreamLogglyConnectorArgs]],
  newRelicConnector: besom.types.Output[scala.Option[besom.api.akamai.inputs.DatastreamNewRelicConnectorArgs]],
  notificationEmails: besom.types.Output[scala.Option[scala.collection.immutable.List[String]]],
  oracleConnector: besom.types.Output[scala.Option[besom.api.akamai.inputs.DatastreamOracleConnectorArgs]],
  properties: besom.types.Output[scala.collection.immutable.List[String]],
  s3Connector: besom.types.Output[scala.Option[besom.api.akamai.inputs.DatastreamS3ConnectorArgs]],
  splunkConnector: besom.types.Output[scala.Option[besom.api.akamai.inputs.DatastreamSplunkConnectorArgs]],
  streamName: besom.types.Output[String],
  sumologicConnector: besom.types.Output[scala.Option[besom.api.akamai.inputs.DatastreamSumologicConnectorArgs]]
)

object DatastreamArgs:
  def apply(
    active: besom.types.Input[Boolean],
    azureConnector: besom.types.Input.Optional[besom.api.akamai.inputs.DatastreamAzureConnectorArgs] = scala.None,
    collectMidgress: besom.types.Input.Optional[Boolean] = scala.None,
    contractId: besom.types.Input[String],
    datadogConnector: besom.types.Input.Optional[besom.api.akamai.inputs.DatastreamDatadogConnectorArgs] = scala.None,
    datasetFields: besom.types.Input[scala.collection.immutable.List[besom.types.Input[Int]]],
    deliveryConfiguration: besom.types.Input[besom.api.akamai.inputs.DatastreamDeliveryConfigurationArgs],
    elasticsearchConnector: besom.types.Input.Optional[besom.api.akamai.inputs.DatastreamElasticsearchConnectorArgs] = scala.None,
    gcsConnector: besom.types.Input.Optional[besom.api.akamai.inputs.DatastreamGcsConnectorArgs] = scala.None,
    groupId: besom.types.Input[String],
    httpsConnector: besom.types.Input.Optional[besom.api.akamai.inputs.DatastreamHttpsConnectorArgs] = scala.None,
    logglyConnector: besom.types.Input.Optional[besom.api.akamai.inputs.DatastreamLogglyConnectorArgs] = scala.None,
    newRelicConnector: besom.types.Input.Optional[besom.api.akamai.inputs.DatastreamNewRelicConnectorArgs] = scala.None,
    notificationEmails: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[String]]] = scala.None,
    oracleConnector: besom.types.Input.Optional[besom.api.akamai.inputs.DatastreamOracleConnectorArgs] = scala.None,
    properties: besom.types.Input[scala.collection.immutable.List[besom.types.Input[String]]],
    s3Connector: besom.types.Input.Optional[besom.api.akamai.inputs.DatastreamS3ConnectorArgs] = scala.None,
    splunkConnector: besom.types.Input.Optional[besom.api.akamai.inputs.DatastreamSplunkConnectorArgs] = scala.None,
    streamName: besom.types.Input[String],
    sumologicConnector: besom.types.Input.Optional[besom.api.akamai.inputs.DatastreamSumologicConnectorArgs] = scala.None
  )(using besom.types.Context): DatastreamArgs =
    new DatastreamArgs(
      active = active.asOutput(isSecret = false),
      azureConnector = azureConnector.asOptionOutput(isSecret = false),
      collectMidgress = collectMidgress.asOptionOutput(isSecret = false),
      contractId = contractId.asOutput(isSecret = false),
      datadogConnector = datadogConnector.asOptionOutput(isSecret = false),
      datasetFields = datasetFields.asOutput(isSecret = false),
      deliveryConfiguration = deliveryConfiguration.asOutput(isSecret = false),
      elasticsearchConnector = elasticsearchConnector.asOptionOutput(isSecret = false),
      gcsConnector = gcsConnector.asOptionOutput(isSecret = false),
      groupId = groupId.asOutput(isSecret = false),
      httpsConnector = httpsConnector.asOptionOutput(isSecret = false),
      logglyConnector = logglyConnector.asOptionOutput(isSecret = false),
      newRelicConnector = newRelicConnector.asOptionOutput(isSecret = false),
      notificationEmails = notificationEmails.asOptionOutput(isSecret = false),
      oracleConnector = oracleConnector.asOptionOutput(isSecret = false),
      properties = properties.asOutput(isSecret = false),
      s3Connector = s3Connector.asOptionOutput(isSecret = false),
      splunkConnector = splunkConnector.asOptionOutput(isSecret = false),
      streamName = streamName.asOutput(isSecret = false),
      sumologicConnector = sumologicConnector.asOptionOutput(isSecret = false)
    )

  given encoder(using besom.types.Context): besom.types.Encoder[DatastreamArgs] =
    besom.internal.Encoder.derived[DatastreamArgs]
  given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[DatastreamArgs] =
    besom.internal.ArgsEncoder.derived[DatastreamArgs]






© 2015 - 2024 Weber Informatics LLC | Privacy Policy