Package com.oracle.bmc.dns.model
Class ResolverSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.dns.model.ResolverSummary.Builder
-
- Enclosing class:
- ResolverSummary
public static class ResolverSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResolverSummary.BuilderattachedVcnId(String attachedVcnId)The OCID of the attached VCN.ResolverSummarybuild()ResolverSummary.BuildercompartmentId(String compartmentId)The OCID of the owning compartment.ResolverSummary.Buildercopy(ResolverSummary model)ResolverSummary.BuilderdefaultViewId(String defaultViewId)The OCID of the default view.ResolverSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.ResolverSummary.BuilderdisplayName(String displayName)The display name of the resolver.ResolverSummary.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.ResolverSummary.Builderid(String id)The OCID of the resolver.ResolverSummary.BuilderisProtected(Boolean isProtected)A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.ResolverSummary.BuilderlifecycleState(ResolverSummary.LifecycleState lifecycleState)The current state of the resource.ResolverSummary.Builderself(String self)The canonical absolute URL of the resource.ResolverSummary.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.ResolverSummary.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
-
compartmentId
public ResolverSummary.Builder compartmentId(String compartmentId)
The OCID of the owning compartment.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
attachedVcnId
public ResolverSummary.Builder attachedVcnId(String attachedVcnId)
The OCID of the attached VCN.- Parameters:
attachedVcnId- the value to set- Returns:
- this builder
-
displayName
public ResolverSummary.Builder displayName(String displayName)
The display name of the resolver.- Parameters:
displayName- the value to set- Returns:
- this builder
-
freeformTags
public ResolverSummary.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
-
definedTags
public ResolverSummary.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
-
id
public ResolverSummary.Builder id(String id)
The OCID of the resolver.- Parameters:
id- the value to set- Returns:
- this builder
-
timeCreated
public ResolverSummary.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
-
timeUpdated
public ResolverSummary.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
-
lifecycleState
public ResolverSummary.Builder lifecycleState(ResolverSummary.LifecycleState lifecycleState)
The current state of the resource.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
self
public ResolverSummary.Builder self(String self)
The canonical absolute URL of the resource.- Parameters:
self- the value to set- Returns:
- this builder
-
defaultViewId
public ResolverSummary.Builder defaultViewId(String defaultViewId)
The OCID of the default view.- Parameters:
defaultViewId- the value to set- Returns:
- this builder
-
isProtected
public ResolverSummary.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
-
build
public ResolverSummary build()
-
copy
public ResolverSummary.Builder copy(ResolverSummary model)
-
-