Class CreateRouteTableDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.vnmonitoring.model.CreateRouteTableDetails.Builder
-
- Enclosing class:
- CreateRouteTableDetails
public static class CreateRouteTableDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateRouteTableDetailsbuild()CreateRouteTableDetails.BuildercompartmentId(String compartmentId)The OCID of the compartment to contain the route table.CreateRouteTableDetails.Buildercopy(CreateRouteTableDetails model)CreateRouteTableDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CreateRouteTableDetails.BuilderdisplayName(String displayName)A user-friendly name.CreateRouteTableDetails.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.CreateRouteTableDetails.BuilderrouteRules(List<RouteRule> routeRules)The collection of rules used for routing destination IPs to network devices.CreateRouteTableDetails.BuildervcnId(String vcnId)The OCID of the VCN the route table belongs to.
-
-
-
Method Detail
-
compartmentId
public CreateRouteTableDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment to contain the route table.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
definedTags
public CreateRouteTableDetails.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 CreateRouteTableDetails.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 CreateRouteTableDetails.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
-
routeRules
public CreateRouteTableDetails.Builder routeRules(List<RouteRule> routeRules)
The collection of rules used for routing destination IPs to network devices.- Parameters:
routeRules- the value to set- Returns:
- this builder
-
vcnId
public CreateRouteTableDetails.Builder vcnId(String vcnId)
The OCID of the VCN the route table belongs to.- Parameters:
vcnId- the value to set- Returns:
- this builder
-
build
public CreateRouteTableDetails build()
-
copy
public CreateRouteTableDetails.Builder copy(CreateRouteTableDetails model)
-
-