Class DetectStackDriftDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.resourcemanager.model.DetectStackDriftDetails.Builder
-
- Enclosing class:
- DetectStackDriftDetails
public static class DetectStackDriftDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DetectStackDriftDetails
build()
DetectStackDriftDetails.Builder
copy(DetectStackDriftDetails model)
DetectStackDriftDetails.Builder
isProviderUpgradeRequired(Boolean isProviderUpgradeRequired)
Specifies whether or not to upgrade provider versions.DetectStackDriftDetails.Builder
resourceAddresses(List<String> resourceAddresses)
The list of resources in the specified stack to detect drift for.
-
-
-
Method Detail
-
resourceAddresses
public DetectStackDriftDetails.Builder resourceAddresses(List<String> resourceAddresses)
The list of resources in the specified stack to detect drift for.Each resource is identified by a resource address, which is a string derived from the resource type and name specified in the stack’s Terraform configuration plus an optional index. For example, the resource address for the fourth Compute instance with the name “test_instance” is oci_core_instance.test_instance[3]. For more details and examples of resource addresses, see the Terraform documentation at Resource spec.
- Parameters:
resourceAddresses
- the value to set- Returns:
- this builder
-
isProviderUpgradeRequired
public DetectStackDriftDetails.Builder isProviderUpgradeRequired(Boolean isProviderUpgradeRequired)
Specifies whether or not to upgrade provider versions.Within the version constraints of your Terraform configuration, use the latest versions available from the source of Terraform providers. For more information about this option, see Dependency Lock File (terraform.io).
- Parameters:
isProviderUpgradeRequired
- the value to set- Returns:
- this builder
-
build
public DetectStackDriftDetails build()
-
copy
public DetectStackDriftDetails.Builder copy(DetectStackDriftDetails model)
-
-