Class DrgRouteTable.Builder
- java.lang.Object
-
- com.oracle.bmc.vnmonitoring.model.DrgRouteTable.Builder
-
- Enclosing class:
- DrgRouteTable
public static class DrgRouteTable.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DrgRouteTable
build()
DrgRouteTable.Builder
compartmentId(String compartmentId)
The OCID of the compartment the DRG is in.DrgRouteTable.Builder
copy(DrgRouteTable model)
DrgRouteTable.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.DrgRouteTable.Builder
displayName(String displayName)
A user-friendly name.DrgRouteTable.Builder
drgId(String drgId)
The OCID of the DRG the DRG that contains this route table.DrgRouteTable.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.DrgRouteTable.Builder
id(String id)
The OCID of the DRG route table.DrgRouteTable.Builder
importDrgRouteDistributionId(String importDrgRouteDistributionId)
The OCID of the import route distribution used to specify how incoming route advertisements from referenced attachments are inserted into the DRG route table.DrgRouteTable.Builder
isEcmpEnabled(Boolean isEcmpEnabled)
If you want traffic to be routed using ECMP across your virtual circuits or IPSec tunnels to your on-premises network, enable ECMP on the DRG route table to which these attachments import routes.DrgRouteTable.Builder
lifecycleState(DrgRouteTable.LifecycleState lifecycleState)
The DRG route table’s current state.DrgRouteTable.Builder
timeCreated(Date timeCreated)
The date and time the DRG route table was created, in the format defined by RFC3339.
-
-
-
Method Detail
-
id
public DrgRouteTable.Builder id(String id)
The OCID of the DRG route table.- Parameters:
id
- the value to set- Returns:
- this builder
-
compartmentId
public DrgRouteTable.Builder compartmentId(String compartmentId)
The OCID of the compartment the DRG is in.The DRG route table is always in the same compartment as the DRG.
- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
drgId
public DrgRouteTable.Builder drgId(String drgId)
The OCID of the DRG the DRG that contains this route table.- Parameters:
drgId
- the value to set- Returns:
- this builder
-
definedTags
public DrgRouteTable.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
displayName
public DrgRouteTable.Builder displayName(String displayName)
A user-friendly name.Does not have to be unique, and it’s changeable. Avoid entering confidential information.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
freeformTags
public DrgRouteTable.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.Exists for cross-compatibility only. Example: {“bar-key”: “value”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
timeCreated
public DrgRouteTable.Builder timeCreated(Date timeCreated)
The date and time the DRG route table was created, in the format defined by RFC3339.Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
lifecycleState
public DrgRouteTable.Builder lifecycleState(DrgRouteTable.LifecycleState lifecycleState)
The DRG route table’s current state.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
importDrgRouteDistributionId
public DrgRouteTable.Builder importDrgRouteDistributionId(String importDrgRouteDistributionId)
The OCID of the import route distribution used to specify how incoming route advertisements from referenced attachments are inserted into the DRG route table.- Parameters:
importDrgRouteDistributionId
- the value to set- Returns:
- this builder
-
isEcmpEnabled
public DrgRouteTable.Builder isEcmpEnabled(Boolean isEcmpEnabled)
If you want traffic to be routed using ECMP across your virtual circuits or IPSec tunnels to your on-premises network, enable ECMP on the DRG route table to which these attachments import routes.- Parameters:
isEcmpEnabled
- the value to set- Returns:
- this builder
-
build
public DrgRouteTable build()
-
copy
public DrgRouteTable.Builder copy(DrgRouteTable model)
-
-