Class VideoStreamArgs.Builder

  • Enclosing class:
    VideoStreamArgs

    public static final class VideoStreamArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • dataRetentionInHours

        public VideoStreamArgs.Builder dataRetentionInHours​(@Nullable
                                                            com.pulumi.core.Output<java.lang.Integer> dataRetentionInHours)
        Parameters:
        dataRetentionInHours - Number of hours that you want to retain the data in the stream. Kinesis Video Streams retains the data in a data store that is associated with the stream. The default value is `0`, indicating that the stream does not persist data.
        Returns:
        builder
      • dataRetentionInHours

        public VideoStreamArgs.Builder dataRetentionInHours​(java.lang.Integer dataRetentionInHours)
        Parameters:
        dataRetentionInHours - Number of hours that you want to retain the data in the stream. Kinesis Video Streams retains the data in a data store that is associated with the stream. The default value is `0`, indicating that the stream does not persist data.
        Returns:
        builder
      • deviceName

        public VideoStreamArgs.Builder deviceName​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> deviceName)
        Parameters:
        deviceName - Name of the device that is writing to the stream. **In the current implementation, Kinesis Video Streams does not use this name.**
        Returns:
        builder
      • deviceName

        public VideoStreamArgs.Builder deviceName​(java.lang.String deviceName)
        Parameters:
        deviceName - Name of the device that is writing to the stream. **In the current implementation, Kinesis Video Streams does not use this name.**
        Returns:
        builder
      • kmsKeyId

        public VideoStreamArgs.Builder kmsKeyId​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> kmsKeyId)
        Parameters:
        kmsKeyId - ID of the KMS key that you want Kinesis Video Streams to use to encrypt stream data. If no key ID is specified, the default, Kinesis Video-managed key (`aws/kinesisvideo`) is used.
        Returns:
        builder
      • kmsKeyId

        public VideoStreamArgs.Builder kmsKeyId​(java.lang.String kmsKeyId)
        Parameters:
        kmsKeyId - ID of the KMS key that you want Kinesis Video Streams to use to encrypt stream data. If no key ID is specified, the default, Kinesis Video-managed key (`aws/kinesisvideo`) is used.
        Returns:
        builder
      • mediaType

        public VideoStreamArgs.Builder mediaType​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> mediaType)
        Parameters:
        mediaType - Media type of the stream. Consumers of the stream can use this information when processing the stream. For more information about media types, see [Media Types](http://www.iana.org/assignments/media-types/media-types.xhtml). If you choose to specify the MediaType, see [Naming Requirements](https://tools.ietf.org/html/rfc6838#section-4.2) for guidelines.
        Returns:
        builder
      • mediaType

        public VideoStreamArgs.Builder mediaType​(java.lang.String mediaType)
        Parameters:
        mediaType - Media type of the stream. Consumers of the stream can use this information when processing the stream. For more information about media types, see [Media Types](http://www.iana.org/assignments/media-types/media-types.xhtml). If you choose to specify the MediaType, see [Naming Requirements](https://tools.ietf.org/html/rfc6838#section-4.2) for guidelines.
        Returns:
        builder
      • name

        public VideoStreamArgs.Builder name​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Name to identify the stream. Unique to the AWS account and region the stream is created in.
        Returns:
        builder
      • name

        public VideoStreamArgs.Builder name​(java.lang.String name)
        Parameters:
        name - Name to identify the stream. Unique to the AWS account and region the stream is created in.
        Returns:
        builder
      • region

        public VideoStreamArgs.Builder region​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public VideoStreamArgs.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • tags

        public VideoStreamArgs.Builder tags​(@Nullable
                                            com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public VideoStreamArgs.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder