Class CreateIPSecConnectionDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.vnmonitoring.model.CreateIPSecConnectionDetails.Builder
-
- Enclosing class:
- CreateIPSecConnectionDetails
public static class CreateIPSecConnectionDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateIPSecConnectionDetailsbuild()CreateIPSecConnectionDetails.BuildercompartmentId(String compartmentId)The OCID of the compartment to contain the IPSec connection.CreateIPSecConnectionDetails.Buildercopy(CreateIPSecConnectionDetails model)CreateIPSecConnectionDetails.BuildercpeId(String cpeId)CreateIPSecConnectionDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CreateIPSecConnectionDetails.BuilderdisplayName(String displayName)A user-friendly name.CreateIPSecConnectionDetails.BuilderdrgId(String drgId)The OCID of the DRG.CreateIPSecConnectionDetails.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.CreateIPSecConnectionDetails.BuilderstaticRoutes(List<String> staticRoutes)Static routes to the CPE.
-
-
-
Method Detail
-
compartmentId
public CreateIPSecConnectionDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment to contain the IPSec connection.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
cpeId
public CreateIPSecConnectionDetails.Builder cpeId(String cpeId)
- Parameters:
cpeId- the value to set- Returns:
- this builder
-
definedTags
public CreateIPSecConnectionDetails.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 CreateIPSecConnectionDetails.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
-
drgId
public CreateIPSecConnectionDetails.Builder drgId(String drgId)
The OCID of the DRG.- Parameters:
drgId- the value to set- Returns:
- this builder
-
freeformTags
public CreateIPSecConnectionDetails.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
-
staticRoutes
public CreateIPSecConnectionDetails.Builder staticRoutes(List<String> staticRoutes)
Static routes to the CPE.A static route’s CIDR must not be a multicast address or class E address.
Example: 10.0.1.0/24
- Parameters:
staticRoutes- the value to set- Returns:
- this builder
-
build
public CreateIPSecConnectionDetails build()
-
copy
public CreateIPSecConnectionDetails.Builder copy(CreateIPSecConnectionDetails model)
-
-