public static class CreateIPSecConnectionDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateIPSecConnectionDetails |
build() |
CreateIPSecConnectionDetails.Builder |
compartmentId(String compartmentId)
The OCID of the compartment to contain the IPSec connection.
|
CreateIPSecConnectionDetails.Builder |
copy(CreateIPSecConnectionDetails model) |
CreateIPSecConnectionDetails.Builder |
cpeId(String cpeId)
|
CreateIPSecConnectionDetails.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
CreateIPSecConnectionDetails.Builder |
displayName(String displayName)
A user-friendly name.
|
CreateIPSecConnectionDetails.Builder |
drgId(String drgId)
The OCID of the DRG.
|
CreateIPSecConnectionDetails.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
CreateIPSecConnectionDetails.Builder |
staticRoutes(List<String> staticRoutes)
Static routes to the CPE.
|
public CreateIPSecConnectionDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment to contain the IPSec connection.
compartmentId
- the value to setpublic CreateIPSecConnectionDetails.Builder cpeId(String cpeId)
cpeId
- the value to setpublic 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"}}
definedTags
- the value to setpublic CreateIPSecConnectionDetails.Builder displayName(String displayName)
A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
displayName
- the value to setpublic CreateIPSecConnectionDetails.Builder drgId(String drgId)
The OCID of the DRG.
drgId
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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
staticRoutes
- the value to setpublic CreateIPSecConnectionDetails build()
public CreateIPSecConnectionDetails.Builder copy(CreateIPSecConnectionDetails model)
Copyright © 2016–2023. All rights reserved.