Package com.pulumi.gcp.datastream.inputs
Class StreamState.Builder
- java.lang.Object
-
- com.pulumi.gcp.datastream.inputs.StreamState.Builder
-
- Enclosing class:
- StreamState
public static final class StreamState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(StreamState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StreamState.Builder
backfillAll(com.pulumi.core.Output<StreamBackfillAllArgs> backfillAll)
StreamState.Builder
backfillAll(StreamBackfillAllArgs backfillAll)
StreamState.Builder
backfillNone(com.pulumi.core.Output<StreamBackfillNoneArgs> backfillNone)
StreamState.Builder
backfillNone(StreamBackfillNoneArgs backfillNone)
StreamState
build()
StreamState.Builder
customerManagedEncryptionKey(com.pulumi.core.Output<java.lang.String> customerManagedEncryptionKey)
StreamState.Builder
customerManagedEncryptionKey(java.lang.String customerManagedEncryptionKey)
StreamState.Builder
desiredState(com.pulumi.core.Output<java.lang.String> desiredState)
StreamState.Builder
desiredState(java.lang.String desiredState)
StreamState.Builder
destinationConfig(com.pulumi.core.Output<StreamDestinationConfigArgs> destinationConfig)
StreamState.Builder
destinationConfig(StreamDestinationConfigArgs destinationConfig)
StreamState.Builder
displayName(com.pulumi.core.Output<java.lang.String> displayName)
StreamState.Builder
displayName(java.lang.String displayName)
StreamState.Builder
labels(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> labels)
StreamState.Builder
labels(java.util.Map<java.lang.String,java.lang.String> labels)
StreamState.Builder
location(com.pulumi.core.Output<java.lang.String> location)
StreamState.Builder
location(java.lang.String location)
StreamState.Builder
name(com.pulumi.core.Output<java.lang.String> name)
StreamState.Builder
name(java.lang.String name)
StreamState.Builder
project(com.pulumi.core.Output<java.lang.String> project)
StreamState.Builder
project(java.lang.String project)
StreamState.Builder
sourceConfig(com.pulumi.core.Output<StreamSourceConfigArgs> sourceConfig)
StreamState.Builder
sourceConfig(StreamSourceConfigArgs sourceConfig)
StreamState.Builder
state(com.pulumi.core.Output<java.lang.String> state)
StreamState.Builder
state(java.lang.String state)
StreamState.Builder
streamId(com.pulumi.core.Output<java.lang.String> streamId)
StreamState.Builder
streamId(java.lang.String streamId)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(StreamState defaults)
-
-
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
-
build
public StreamState build()
-
-