Class CreateServiceGatewayDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.vnmonitoring.model.CreateServiceGatewayDetails.Builder
 
- 
- Enclosing class:
- CreateServiceGatewayDetails
 
 public static class CreateServiceGatewayDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateServiceGatewayDetailsbuild()CreateServiceGatewayDetails.BuildercompartmentId(String compartmentId)The [OCID] (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the service gateway.CreateServiceGatewayDetails.Buildercopy(CreateServiceGatewayDetails model)CreateServiceGatewayDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CreateServiceGatewayDetails.BuilderdisplayName(String displayName)A user-friendly name.CreateServiceGatewayDetails.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.CreateServiceGatewayDetails.BuilderrouteTableId(String routeTableId)The OCID of the route table the service gateway will use.CreateServiceGatewayDetails.Builderservices(List<ServiceIdRequestDetails> services)List of the OCIDs of theServiceobjects to enable for the service gateway.CreateServiceGatewayDetails.BuildervcnId(String vcnId)The OCID of the VCN.
 
- 
- 
- 
Method Detail- 
compartmentIdpublic CreateServiceGatewayDetails.Builder compartmentId(String compartmentId) The [OCID] (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the service gateway.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic CreateServiceGatewayDetails.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
 
 - 
displayNamepublic CreateServiceGatewayDetails.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
 
 - 
freeformTagspublic CreateServiceGatewayDetails.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
 
 - 
routeTableIdpublic CreateServiceGatewayDetails.Builder routeTableId(String routeTableId) The OCID of the route table the service gateway will use.If you don't specify a route table here, the service gateway is created without an associated route table. The Networking service does NOT automatically associate the attached VCN's default route table with the service gateway. For information about why you would associate a route table with a service gateway, see [Transit Routing: Private Access to Oracle Services](https://docs.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm). - Parameters:
- routeTableId- the value to set
- Returns:
- this builder
 
 - 
servicespublic CreateServiceGatewayDetails.Builder services(List<ServiceIdRequestDetails> services) List of the OCIDs of theServiceobjects to enable for the service gateway.This list can be empty if you don’t want to enable any Service objects when you create the gateway. You can enable a Service object later by using either attachServiceIdorupdateServiceGateway.For each enabled Service, make sure there's a route rule with the Service object's cidrBlock as the rule's destination and the service gateway as the rule's target. See RouteTable.- Parameters:
- services- the value to set
- Returns:
- this builder
 
 - 
vcnIdpublic CreateServiceGatewayDetails.Builder vcnId(String vcnId) The OCID of the VCN.- Parameters:
- vcnId- the value to set
- Returns:
- this builder
 
 - 
buildpublic CreateServiceGatewayDetails build() 
 - 
copypublic CreateServiceGatewayDetails.Builder copy(CreateServiceGatewayDetails model) 
 
- 
 
-