public static class StackResourceDriftSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
StackResourceDriftSummary.Builder |
actualProperties(Map<String,String> actualProperties)
Actual values of properties that the stack defines for the indicated resource.
|
StackResourceDriftSummary |
build() |
StackResourceDriftSummary.Builder |
compartmentId(String compartmentId)
The OCID
of the compartment where the stack is located.
|
StackResourceDriftSummary.Builder |
copy(StackResourceDriftSummary model) |
StackResourceDriftSummary.Builder |
expectedProperties(Map<String,String> expectedProperties)
Expected values of properties that the stack defines for the indicated resource.
|
StackResourceDriftSummary.Builder |
resourceDriftStatus(StackResourceDriftSummary.ResourceDriftStatus resourceDriftStatus)
The drift status of the resource.
|
StackResourceDriftSummary.Builder |
resourceId(String resourceId)
The OCID
of the resource provisioned by Terraform.
|
StackResourceDriftSummary.Builder |
resourceName(String resourceName)
The name of the resource as defined in the stack.
|
StackResourceDriftSummary.Builder |
resourceType(String resourceType)
The provider resource type.
|
StackResourceDriftSummary.Builder |
stackId(String stackId)
The OCID
of the stack.
|
StackResourceDriftSummary.Builder |
timeDriftChecked(Date timeDriftChecked)
The date and time when the drift detection was executed.
|
public StackResourceDriftSummary.Builder stackId(String stackId)
The OCID of the stack.
stackId
- the value to setpublic StackResourceDriftSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment where the stack is located.
compartmentId
- the value to setpublic StackResourceDriftSummary.Builder resourceName(String resourceName)
The name of the resource as defined in the stack.
resourceName
- the value to setpublic StackResourceDriftSummary.Builder resourceId(String resourceId)
The OCID of the resource provisioned by Terraform.
resourceId
- the value to setpublic StackResourceDriftSummary.Builder resourceType(String resourceType)
The provider resource type. Must be supported by the Oracle Cloud Infrastructure
provider. Example: oci_core_instance
resourceType
- the value to setpublic StackResourceDriftSummary.Builder resourceDriftStatus(StackResourceDriftSummary.ResourceDriftStatus resourceDriftStatus)
The drift status of the resource. A drift status value indicates whether or not the actual state of the resource differs from the expected (defined) state for that resource.
resourceDriftStatus
- the value to setpublic StackResourceDriftSummary.Builder actualProperties(Map<String,String> actualProperties)
Actual values of properties that the stack defines for the indicated resource. Each
property and value is provided as a key-value pair. The following example shows actual
values for the resource’s display name and server type: {"display_name":
"tf-default-dhcp-options-new", "options.0.server_type": "VcnLocalPlusInternet"}
actualProperties
- the value to setpublic StackResourceDriftSummary.Builder expectedProperties(Map<String,String> expectedProperties)
Expected values of properties that the stack defines for the indicated resource. Each
property and value is provided as a key-value pair. The following example shows expected
(defined) values for the resource’s display name and server type: {"display_name":
"tf-default-dhcp-options", "options.0.server_type": "VcnLocalPlusInternet"}
expectedProperties
- the value to setpublic StackResourceDriftSummary.Builder timeDriftChecked(Date timeDriftChecked)
The date and time when the drift detection was executed. Format is defined by RFC3339.
Example: 2020-01-25T21:10:29.600Z
timeDriftChecked
- the value to setpublic StackResourceDriftSummary build()
public StackResourceDriftSummary.Builder copy(StackResourceDriftSummary model)
Copyright © 2016–2024. All rights reserved.