Class StreamState.Builder

  • Enclosing class:
    StreamState

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

      • Builder

        public Builder()
    • Method Detail

      • backfillAll

        public StreamState.Builder backfillAll​(@Nullable
                                               com.pulumi.core.Output<StreamBackfillAllArgs> backfillAll)
        Parameters:
        backfillAll - Backfill strategy to automatically backfill the Stream's objects. Specific objects can be excluded. Structure is documented below.
        Returns:
        builder
      • backfillAll

        public StreamState.Builder backfillAll​(StreamBackfillAllArgs backfillAll)
        Parameters:
        backfillAll - Backfill strategy to automatically backfill the Stream's objects. Specific objects can be excluded. Structure is documented below.
        Returns:
        builder
      • backfillNone

        public StreamState.Builder backfillNone​(@Nullable
                                                com.pulumi.core.Output<StreamBackfillNoneArgs> backfillNone)
        Parameters:
        backfillNone - Backfill strategy to disable automatic backfill for the Stream's objects.
        Returns:
        builder
      • backfillNone

        public StreamState.Builder backfillNone​(StreamBackfillNoneArgs backfillNone)
        Parameters:
        backfillNone - Backfill strategy to disable automatic backfill for the Stream's objects.
        Returns:
        builder
      • customerManagedEncryptionKey

        public StreamState.Builder customerManagedEncryptionKey​(@Nullable
                                                                com.pulumi.core.Output<java.lang.String> customerManagedEncryptionKey)
        Parameters:
        customerManagedEncryptionKey - A reference to a KMS encryption key. If provided, it will be used to encrypt the data. If left blank, data will be encrypted using an internal Stream-specific encryption key provisioned through KMS.
        Returns:
        builder
      • customerManagedEncryptionKey

        public StreamState.Builder customerManagedEncryptionKey​(java.lang.String customerManagedEncryptionKey)
        Parameters:
        customerManagedEncryptionKey - A reference to a KMS encryption key. If provided, it will be used to encrypt the data. If left blank, data will be encrypted using an internal Stream-specific encryption key provisioned through KMS.
        Returns:
        builder
      • desiredState

        public StreamState.Builder desiredState​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> desiredState)
        Parameters:
        desiredState - Desired state of the Stream. Set this field to `RUNNING` to start the stream, and `PAUSED` to pause the stream.
        Returns:
        builder
      • desiredState

        public StreamState.Builder desiredState​(java.lang.String desiredState)
        Parameters:
        desiredState - Desired state of the Stream. Set this field to `RUNNING` to start the stream, and `PAUSED` to pause the stream.
        Returns:
        builder
      • destinationConfig

        public StreamState.Builder destinationConfig​(@Nullable
                                                     com.pulumi.core.Output<StreamDestinationConfigArgs> destinationConfig)
        Parameters:
        destinationConfig - Destination connection profile configuration. Structure is documented below.
        Returns:
        builder
      • destinationConfig

        public StreamState.Builder destinationConfig​(StreamDestinationConfigArgs destinationConfig)
        Parameters:
        destinationConfig - Destination connection profile configuration. Structure is documented below.
        Returns:
        builder
      • displayName

        public StreamState.Builder displayName​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> displayName)
        Parameters:
        displayName - Display name.
        Returns:
        builder
      • displayName

        public StreamState.Builder displayName​(java.lang.String displayName)
        Parameters:
        displayName - Display name.
        Returns:
        builder
      • labels

        public StreamState.Builder labels​(@Nullable
                                          com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> labels)
        Parameters:
        labels - Labels.
        Returns:
        builder
      • labels

        public StreamState.Builder labels​(java.util.Map<java.lang.String,​java.lang.String> labels)
        Parameters:
        labels - Labels.
        Returns:
        builder
      • location

        public StreamState.Builder location​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> location)
        Parameters:
        location - The name of the location this stream is located in.
        Returns:
        builder
      • location

        public StreamState.Builder location​(java.lang.String location)
        Parameters:
        location - The name of the location this stream is located in.
        Returns:
        builder
      • name

        public StreamState.Builder name​(@Nullable
                                        com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - The stream's name.
        Returns:
        builder
      • name

        public StreamState.Builder name​(java.lang.String name)
        Parameters:
        name - The stream's name.
        Returns:
        builder
      • project

        public StreamState.Builder project​(@Nullable
                                           com.pulumi.core.Output<java.lang.String> project)
        Parameters:
        project - The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
        Returns:
        builder
      • project

        public StreamState.Builder project​(java.lang.String project)
        Parameters:
        project - The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
        Returns:
        builder
      • sourceConfig

        public StreamState.Builder sourceConfig​(@Nullable
                                                com.pulumi.core.Output<StreamSourceConfigArgs> sourceConfig)
        Parameters:
        sourceConfig - Source connection profile configuration. Structure is documented below.
        Returns:
        builder
      • sourceConfig

        public StreamState.Builder sourceConfig​(StreamSourceConfigArgs sourceConfig)
        Parameters:
        sourceConfig - Source connection profile configuration. Structure is documented below.
        Returns:
        builder
      • state

        public StreamState.Builder state​(@Nullable
                                         com.pulumi.core.Output<java.lang.String> state)
        Parameters:
        state - The state of the stream.
        Returns:
        builder
      • state

        public StreamState.Builder state​(java.lang.String state)
        Parameters:
        state - The state of the stream.
        Returns:
        builder
      • streamId

        public StreamState.Builder streamId​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> streamId)
        Parameters:
        streamId - The stream identifier.
        Returns:
        builder
      • streamId

        public StreamState.Builder streamId​(java.lang.String streamId)
        Parameters:
        streamId - The stream identifier.
        Returns:
        builder