Class StackResourceDriftSummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.resourcemanager.model.StackResourceDriftSummary.Builder
 
- 
- Enclosing class:
- StackResourceDriftSummary
 
 public static class StackResourceDriftSummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StackResourceDriftSummary.BuilderactualProperties(Map<String,String> actualProperties)Actual values of properties that the stack defines for the indicated resource.StackResourceDriftSummarybuild()StackResourceDriftSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment where the stack is located.StackResourceDriftSummary.Buildercopy(StackResourceDriftSummary model)StackResourceDriftSummary.BuilderexpectedProperties(Map<String,String> expectedProperties)Expected values of properties that the stack defines for the indicated resource.StackResourceDriftSummary.BuilderresourceDriftStatus(StackResourceDriftSummary.ResourceDriftStatus resourceDriftStatus)The drift status of the resource.StackResourceDriftSummary.BuilderresourceId(String resourceId)The OCID of the resource provisioned by Terraform.StackResourceDriftSummary.BuilderresourceName(String resourceName)The name of the resource as defined in the stack.StackResourceDriftSummary.BuilderresourceType(String resourceType)The provider resource type.StackResourceDriftSummary.BuilderstackId(String stackId)The OCID of the stack.StackResourceDriftSummary.BuildertimeDriftChecked(Date timeDriftChecked)The date and time when the drift detection was executed.
 
- 
- 
- 
Method Detail- 
stackIdpublic StackResourceDriftSummary.Builder stackId(String stackId) The OCID of the stack.- Parameters:
- stackId- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic StackResourceDriftSummary.Builder compartmentId(String compartmentId) The OCID of the compartment where the stack is located.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
resourceNamepublic StackResourceDriftSummary.Builder resourceName(String resourceName) The name of the resource as defined in the stack.- Parameters:
- resourceName- the value to set
- Returns:
- this builder
 
 - 
resourceIdpublic StackResourceDriftSummary.Builder resourceId(String resourceId) The OCID of the resource provisioned by Terraform.- Parameters:
- resourceId- the value to set
- Returns:
- this builder
 
 - 
resourceTypepublic StackResourceDriftSummary.Builder resourceType(String resourceType) The provider resource type.Must be supported by the Oracle Cloud Infrastructure provider. Example: oci_core_instance - Parameters:
- resourceType- the value to set
- Returns:
- this builder
 
 - 
resourceDriftStatuspublic 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. - Parameters:
- resourceDriftStatus- the value to set
- Returns:
- this builder
 
 - 
actualPropertiespublic 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”} - Parameters:
- actualProperties- the value to set
- Returns:
- this builder
 
 - 
expectedPropertiespublic 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”} - Parameters:
- expectedProperties- the value to set
- Returns:
- this builder
 
 - 
timeDriftCheckedpublic 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 - Parameters:
- timeDriftChecked- the value to set
- Returns:
- this builder
 
 - 
buildpublic StackResourceDriftSummary build() 
 - 
copypublic StackResourceDriftSummary.Builder copy(StackResourceDriftSummary model) 
 
- 
 
-