Package com.oracle.bmc.core.model
Class CreateRouteTableDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.core.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)Free-form tags for this resource.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. For more information, see Resource Tags.
Example: {"Operations": {"CostCenter": "42"}}
- 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)
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
-
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)
-
-