Class RouteTable.Builder
- java.lang.Object
-
- com.oracle.bmc.vnmonitoring.model.RouteTable.Builder
-
- Enclosing class:
- RouteTable
public static class RouteTable.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RouteTable
build()
RouteTable.Builder
compartmentId(String compartmentId)
The OCID of the compartment containing the route table.RouteTable.Builder
copy(RouteTable model)
RouteTable.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.RouteTable.Builder
displayName(String displayName)
A user-friendly name.RouteTable.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.RouteTable.Builder
id(String id)
The route table’s Oracle ID (OCID).RouteTable.Builder
lifecycleState(RouteTable.LifecycleState lifecycleState)
The route table’s current state.RouteTable.Builder
routeRules(List<RouteRule> routeRules)
The collection of rules for routing destination IPs to network devices.RouteTable.Builder
timeCreated(Date timeCreated)
The date and time the route table was created, in the format defined by RFC3339.RouteTable.Builder
vcnId(String vcnId)
The OCID of the VCN the route table list belongs to.
-
-
-
Method Detail
-
compartmentId
public RouteTable.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the route table.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
definedTags
public RouteTable.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 RouteTable.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 RouteTable.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
-
id
public RouteTable.Builder id(String id)
The route table’s Oracle ID (OCID).- Parameters:
id
- the value to set- Returns:
- this builder
-
lifecycleState
public RouteTable.Builder lifecycleState(RouteTable.LifecycleState lifecycleState)
The route table’s current state.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
routeRules
public RouteTable.Builder routeRules(List<RouteRule> routeRules)
The collection of rules for routing destination IPs to network devices.- Parameters:
routeRules
- the value to set- Returns:
- this builder
-
timeCreated
public RouteTable.Builder timeCreated(Date timeCreated)
The date and time the 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
-
vcnId
public RouteTable.Builder vcnId(String vcnId)
The OCID of the VCN the route table list belongs to.- Parameters:
vcnId
- the value to set- Returns:
- this builder
-
build
public RouteTable build()
-
copy
public RouteTable.Builder copy(RouteTable model)
-
-