Class StreamArgs.Builder

  • Enclosing class:
    StreamArgs

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

      • Builder

        public Builder()
      • Builder

        public Builder​(StreamArgs defaults)
    • Method Detail

      • exclusiveEndTime

        public StreamArgs.Builder exclusiveEndTime​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> exclusiveEndTime)
        Parameters:
        exclusiveEndTime - Exclusive date and time that specifies when the stream ends. If you don't define this parameter, the stream runs indefinitely until you cancel it. It must be in ISO 8601 date and time format and in Universal Coordinated Time (UTC). For example: `"2019-06-13T21:36:34Z"`.
        Returns:
        builder
      • exclusiveEndTime

        public StreamArgs.Builder exclusiveEndTime​(java.lang.String exclusiveEndTime)
        Parameters:
        exclusiveEndTime - Exclusive date and time that specifies when the stream ends. If you don't define this parameter, the stream runs indefinitely until you cancel it. It must be in ISO 8601 date and time format and in Universal Coordinated Time (UTC). For example: `"2019-06-13T21:36:34Z"`.
        Returns:
        builder
      • inclusiveStartTime

        public StreamArgs.Builder inclusiveStartTime​(com.pulumi.core.Output<java.lang.String> inclusiveStartTime)
        Parameters:
        inclusiveStartTime - Inclusive start date and time from which to start streaming journal data. This parameter must be in ISO 8601 date and time format and in Universal Coordinated Time (UTC). For example: `"2019-06-13T21:36:34Z"`. This cannot be in the future and must be before `exclusiveEndTime`. If you provide a value that is before the ledger's `CreationDateTime`, QLDB effectively defaults it to the ledger's `CreationDateTime`.
        Returns:
        builder
      • inclusiveStartTime

        public StreamArgs.Builder inclusiveStartTime​(java.lang.String inclusiveStartTime)
        Parameters:
        inclusiveStartTime - Inclusive start date and time from which to start streaming journal data. This parameter must be in ISO 8601 date and time format and in Universal Coordinated Time (UTC). For example: `"2019-06-13T21:36:34Z"`. This cannot be in the future and must be before `exclusiveEndTime`. If you provide a value that is before the ledger's `CreationDateTime`, QLDB effectively defaults it to the ledger's `CreationDateTime`.
        Returns:
        builder
      • kinesisConfiguration

        public StreamArgs.Builder kinesisConfiguration​(com.pulumi.core.Output<StreamKinesisConfigurationArgs> kinesisConfiguration)
        Parameters:
        kinesisConfiguration - Configuration settings of the Kinesis Data Streams destination for your stream request. Documented below.
        Returns:
        builder
      • kinesisConfiguration

        public StreamArgs.Builder kinesisConfiguration​(StreamKinesisConfigurationArgs kinesisConfiguration)
        Parameters:
        kinesisConfiguration - Configuration settings of the Kinesis Data Streams destination for your stream request. Documented below.
        Returns:
        builder
      • ledgerName

        public StreamArgs.Builder ledgerName​(com.pulumi.core.Output<java.lang.String> ledgerName)
        Parameters:
        ledgerName - Name of the QLDB ledger.
        Returns:
        builder
      • ledgerName

        public StreamArgs.Builder ledgerName​(java.lang.String ledgerName)
        Parameters:
        ledgerName - Name of the QLDB ledger.
        Returns:
        builder
      • region

        public StreamArgs.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 StreamArgs.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
      • roleArn

        public StreamArgs.Builder roleArn​(com.pulumi.core.Output<java.lang.String> roleArn)
        Parameters:
        roleArn - ARN of the IAM role that grants QLDB permissions for a journal stream to write data records to a Kinesis Data Streams resource.
        Returns:
        builder
      • roleArn

        public StreamArgs.Builder roleArn​(java.lang.String roleArn)
        Parameters:
        roleArn - ARN of the IAM role that grants QLDB permissions for a journal stream to write data records to a Kinesis Data Streams resource.
        Returns:
        builder
      • streamName

        public StreamArgs.Builder streamName​(com.pulumi.core.Output<java.lang.String> streamName)
        Parameters:
        streamName - Name that you want to assign to the QLDB journal stream. User-defined names can help identify and indicate the purpose of a stream. Your stream name must be unique among other active streams for a given ledger. Stream names have the same naming constraints as ledger names, as defined in the [Amazon QLDB Developer Guide](https://docs.aws.amazon.com/qldb/latest/developerguide/limits.html#limits.naming).
        Returns:
        builder
      • streamName

        public StreamArgs.Builder streamName​(java.lang.String streamName)
        Parameters:
        streamName - Name that you want to assign to the QLDB journal stream. User-defined names can help identify and indicate the purpose of a stream. Your stream name must be unique among other active streams for a given ledger. Stream names have the same naming constraints as ledger names, as defined in the [Amazon QLDB Developer Guide](https://docs.aws.amazon.com/qldb/latest/developerguide/limits.html#limits.naming).
        Returns:
        builder
      • tags

        public StreamArgs.Builder tags​(@Nullable
                                       com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Key-value map of resource tags. 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 StreamArgs.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder