@Stability(value=Stable) public static final class RemovalPolicyOptions.Builder extends Object
RemovalPolicyOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
RemovalPolicyOptions |
build()
Builds the configured instance.
|
RemovalPolicyOptions.Builder |
withApplyToUpdateReplacePolicy(Boolean value)
Sets the value of ApplyToUpdateReplacePolicy
|
RemovalPolicyOptions.Builder |
withDefault(RemovalPolicy value)
Sets the value of Default
|
@Stability(value=Stable) public RemovalPolicyOptions.Builder withApplyToUpdateReplacePolicy(@Nullable Boolean value)
value - Apply the same deletion policy to the resource's "UpdateReplacePolicy".this@Stability(value=Stable) public RemovalPolicyOptions.Builder withDefault(@Nullable RemovalPolicy value)
value - The default policy to apply in case the removal policy is not defined.this@Stability(value=Stable) public RemovalPolicyOptions build()
RemovalPolicyOptionsNullPointerException - if any required attribute was not providedCopyright © 2019. All rights reserved.