Package com.oracle.bmc.dns.model
Class View.Builder
- java.lang.Object
- 
- com.oracle.bmc.dns.model.View.Builder
 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Viewbuild()View.BuildercompartmentId(String compartmentId)The OCID of the owning compartment.View.Buildercopy(View model)View.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.View.BuilderdisplayName(String displayName)The display name of the view.View.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.View.Builderid(String id)The OCID of the view.View.BuilderisProtected(Boolean isProtected)A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.View.BuilderlifecycleState(View.LifecycleState lifecycleState)The current state of the resource.View.Builderself(String self)The canonical absolute URL of the resource.View.BuildertimeCreated(Date timeCreated)The date and time the resource was created in “YYYY-MM-ddThh:mm:ssZ” format with a Z offset, as defined by RFC 3339.View.BuildertimeUpdated(Date timeUpdated)The date and time the resource was last updated in “YYYY-MM-ddThh:mm:ssZ” format with a Z offset, as defined by RFC 3339.
 
- 
- 
- 
Method Detail- 
compartmentIdpublic View.Builder compartmentId(String compartmentId) The OCID of the owning compartment.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic View.Builder displayName(String displayName) The display name of the view.- Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic View.Builder freeformTags(Map<String,String> freeformTags) Free-form tags for this resource.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. **Example:** {"Department": "Finance"} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic View.Builder definedTags(Map<String,Map<String,Object>> definedTags) Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags. **Example:** {"Operations": {"CostCenter": "42"}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
idpublic View.Builder id(String id) The OCID of the view.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
selfpublic View.Builder self(String self) The canonical absolute URL of the resource.- Parameters:
- self- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic View.Builder timeCreated(Date timeCreated) The date and time the resource was created in “YYYY-MM-ddThh:mm:ssZ” format with a Z offset, as defined by RFC 3339.*Example:** 2016-07-22T17:23:59:60Z - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic View.Builder timeUpdated(Date timeUpdated) The date and time the resource was last updated in “YYYY-MM-ddThh:mm:ssZ” format with a Z offset, as defined by RFC 3339.*Example:** 2016-07-22T17:23:59:60Z - Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic View.Builder lifecycleState(View.LifecycleState lifecycleState) The current state of the resource.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
isProtectedpublic View.Builder isProtected(Boolean isProtected) A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.- Parameters:
- isProtected- the value to set
- Returns:
- this builder
 
 - 
buildpublic View build() 
 - 
copypublic View.Builder copy(View model) 
 
- 
 
-