public static class DetectStackDriftDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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.
|
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.
resourceAddresses
- the value to setpublic 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).
isProviderUpgradeRequired
- the value to setpublic DetectStackDriftDetails build()
public DetectStackDriftDetails.Builder copy(DetectStackDriftDetails model)
Copyright © 2016–2024. All rights reserved.