Package com.oracle.bmc.multicloud.model
Class NetworkAnchorSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.multicloud.model.NetworkAnchorSummary.Builder
-
- Enclosing class:
- NetworkAnchorSummary
public static class NetworkAnchorSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NetworkAnchorSummarybuild()NetworkAnchorSummary.BuilderclusterPlacementGroupId(String clusterPlacementGroupId)The CPG ID in which Network Anchor will be created.NetworkAnchorSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment.NetworkAnchorSummary.Buildercopy(NetworkAnchorSummary model)NetworkAnchorSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.NetworkAnchorSummary.BuilderdisplayName(String displayName)A user-friendly name.NetworkAnchorSummary.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.NetworkAnchorSummary.Builderid(String id)The OCID of the NetworkAnchor.NetworkAnchorSummary.BuilderlifecycleDetails(String lifecycleDetails)A message that describes the current state of the NetworkAnchor in more detail.NetworkAnchorSummary.BuilderlifecycleState(NetworkAnchor.LifecycleState lifecycleState)The current state of the NetworkAnchor.NetworkAnchorSummary.BuilderresourceAnchorId(String resourceAnchorId)OCI resource anchor Id (OCID).NetworkAnchorSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.NetworkAnchorSummary.BuildertimeCreated(Date timeCreated)The date and time the NetworkAnchor was created, in the format defined by RFC 3339.NetworkAnchorSummary.BuildertimeUpdated(Date timeUpdated)The date and time the NetworkAnchor was updated, in the format defined by RFC 3339.NetworkAnchorSummary.BuildervcnId(String vcnId)OCI resource Id of VCN.
-
-
-
Method Detail
-
id
public NetworkAnchorSummary.Builder id(String id)
The OCID of the NetworkAnchor.- Parameters:
id- the value to set- Returns:
- this builder
-
displayName
public NetworkAnchorSummary.Builder displayName(String displayName)
A user-friendly name.Does not have to be unique, and it’s changeable.
- Parameters:
displayName- the value to set- Returns:
- this builder
-
compartmentId
public NetworkAnchorSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
resourceAnchorId
public NetworkAnchorSummary.Builder resourceAnchorId(String resourceAnchorId)
OCI resource anchor Id (OCID).- Parameters:
resourceAnchorId- the value to set- Returns:
- this builder
-
vcnId
public NetworkAnchorSummary.Builder vcnId(String vcnId)
OCI resource Id of VCN.- Parameters:
vcnId- the value to set- Returns:
- this builder
-
clusterPlacementGroupId
public NetworkAnchorSummary.Builder clusterPlacementGroupId(String clusterPlacementGroupId)
The CPG ID in which Network Anchor will be created.- Parameters:
clusterPlacementGroupId- the value to set- Returns:
- this builder
-
timeCreated
public NetworkAnchorSummary.Builder timeCreated(Date timeCreated)
The date and time the NetworkAnchor was created, in the format defined by RFC 3339.Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public NetworkAnchorSummary.Builder timeUpdated(Date timeUpdated)
The date and time the NetworkAnchor was updated, in the format defined by RFC 3339.Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
lifecycleState
public NetworkAnchorSummary.Builder lifecycleState(NetworkAnchor.LifecycleState lifecycleState)
The current state of the NetworkAnchor.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public NetworkAnchorSummary.Builder lifecycleDetails(String lifecycleDetails)
A message that describes the current state of the NetworkAnchor in more detail.For example, can be used to provide actionable information for a resource in the Failed state.
- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
freeformTags
public NetworkAnchorSummary.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 NetworkAnchorSummary.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
-
systemTags
public NetworkAnchorSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.Each key is predefined and scoped to a namespace.
Example: {"orcl-cloud": {"free-tier-retained": "true"}}
- Parameters:
systemTags- the value to set- Returns:
- this builder
-
build
public NetworkAnchorSummary build()
-
copy
public NetworkAnchorSummary.Builder copy(NetworkAnchorSummary model)
-
-