Class DetectStackDriftDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • 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