Package com.pulumi.automation
Class StackSettings.Builder
- java.lang.Object
-
- com.pulumi.automation.StackSettings.Builder
-
- Enclosing class:
- StackSettings
public static class StackSettings.Builder extends java.lang.Object
Builder forStackSettings
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StackSettings
build()
Builds theStackSettings
.StackSettings.Builder
config(java.util.Map<java.lang.String,StackSettingsConfigValue> config)
The configuration for the stack.StackSettings.Builder
encryptedKey(java.lang.String encryptedKey)
The KMS-encrypted ciphertext for the data key used for secrets encryption.StackSettings.Builder
encryptionSalt(java.lang.String encryptionSalt)
The stack's base64 encoded encryption salt.StackSettings.Builder
secretsProvider(java.lang.String secretsProvider)
The stack's secrets provider.
-
-
-
Method Detail
-
secretsProvider
public StackSettings.Builder secretsProvider(@Nullable java.lang.String secretsProvider)
The stack's secrets provider.- Parameters:
secretsProvider
- the secrets provider to set- Returns:
- the builder
-
encryptedKey
public StackSettings.Builder encryptedKey(@Nullable java.lang.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 java.lang.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 java.util.Map<java.lang.String,StackSettingsConfigValue> config)
The configuration for the stack.- Parameters:
config
- the configuration to set- Returns:
- the builder
-
build
public StackSettings build()
Builds theStackSettings
.- Returns:
- the stack settings
-
-