Class StackSettings.Builder

java.lang.Object
com.pulumi.automation.StackSettings.Builder
Enclosing class:
StackSettings

public static class StackSettings.Builder extends Object
Builder for StackSettings.
  • Method Details

    • secretsProvider

      public StackSettings.Builder secretsProvider(@Nullable String secretsProvider)
      The stack's secrets provider.
      Parameters:
      secretsProvider - the secrets provider to set
      Returns:
      the builder
    • encryptedKey

      public StackSettings.Builder encryptedKey(@Nullable String encryptedKey)
      The KMS-encrypted ciphertext for the data key used for secrets encryption. Only used for cloud-based secrets providers.
      Parameters:
      encryptedKey - the encrypted key to set
      Returns:
      the builder
    • encryptionSalt

      public StackSettings.Builder encryptionSalt(@Nullable String encryptionSalt)
      The stack's base64 encoded encryption salt. Only used for passphrase-based secrets providers.
      Parameters:
      encryptionSalt - the encryption salt to set
      Returns:
      the builder
    • config

      public StackSettings.Builder config(@Nullable Map<String,StackSettingsConfigValue> config)
      The configuration for the stack.
      Parameters:
      config - the configuration to set
      Returns:
      the builder
    • build

      public StackSettings build()
      Builds the StackSettings.
      Returns:
      the stack settings