Package com.pulumi.automation
Class RefreshOptions.Builder
- java.lang.Object
-
- com.pulumi.automation.UpdateOptions.Builder<RefreshOptions.Builder>
-
- com.pulumi.automation.RefreshOptions.Builder
-
- Enclosing class:
- RefreshOptions
public static final class RefreshOptions.Builder extends UpdateOptions.Builder<RefreshOptions.Builder>
Builder forRefreshOptions.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RefreshOptionsbuild()Builds theRefreshOptions.RefreshOptions.BuilderclearPendingCreates(boolean clearPendingCreates)Removes any pending create operations from the stackRefreshOptions.BuilderexpectNoChanges(boolean expectNoChanges)Return an error if any changes are proposed by this preview.RefreshOptions.BuilderimportPendingCreates(java.util.List<PendingCreateValue> importPendingCreates)Sets the values to import into the stackRefreshOptions.BuildershowSecrets(boolean showSecrets)Sets whether to show config secrets when they appear.RefreshOptions.BuilderskipPendingCreates(boolean skipPendingCreates)Ignores any pending create operations-
Methods inherited from class com.pulumi.automation.UpdateOptions.Builder
color, debug, json, logFlow, logToStdErr, logVerbosity, message, onEvent, onStandardError, onStandardOutput, parallel, policyPackConfigs, policyPacks, targets, tracing
-
-
-
-
Method Detail
-
expectNoChanges
public RefreshOptions.Builder expectNoChanges(boolean expectNoChanges)
Return an error if any changes are proposed by this preview.- Parameters:
expectNoChanges- true if the preview should fail if any changes are proposed- Returns:
- the builder
-
showSecrets
public RefreshOptions.Builder showSecrets(boolean showSecrets)
Sets whether to show config secrets when they appear.- Parameters:
showSecrets- the show secrets flag- Returns:
- the builder
-
skipPendingCreates
public RefreshOptions.Builder skipPendingCreates(boolean skipPendingCreates)
Ignores any pending create operations- Parameters:
skipPendingCreates- whether to skip pending creates- Returns:
- the builder
-
clearPendingCreates
public RefreshOptions.Builder clearPendingCreates(boolean clearPendingCreates)
Removes any pending create operations from the stack- Parameters:
clearPendingCreates- whether to clear pending creates- Returns:
- the builder
-
importPendingCreates
public RefreshOptions.Builder importPendingCreates(java.util.List<PendingCreateValue> importPendingCreates)
Sets the values to import into the stack- Parameters:
importPendingCreates- the list of pending create values- Returns:
- the builder
-
build
public RefreshOptions build()
Builds theRefreshOptions.- Returns:
- the refresh options
-
-