public static class IPSecConnection.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
IPSecConnection |
build() |
IPSecConnection.Builder |
compartmentId(String compartmentId)
The OCID of the compartment containing the IPSec connection.
|
IPSecConnection.Builder |
copy(IPSecConnection model) |
IPSecConnection.Builder |
cpeId(String cpeId)
|
IPSecConnection.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
IPSecConnection.Builder |
displayName(String displayName)
A user-friendly name.
|
IPSecConnection.Builder |
drgId(String drgId)
The OCID of the DRG.
|
IPSecConnection.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
IPSecConnection.Builder |
id(String id)
The IPSec connection’s Oracle ID (OCID).
|
IPSecConnection.Builder |
lifecycleState(IPSecConnection.LifecycleState lifecycleState)
The IPSec connection’s current state.
|
IPSecConnection.Builder |
staticRoutes(List<String> staticRoutes)
Static routes to the CPE.
|
IPSecConnection.Builder |
timeCreated(Date timeCreated)
The date and time the IPSec connection was created, in the format defined by RFC3339.
|
public IPSecConnection.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the IPSec connection.
compartmentId
- the value to setpublic IPSecConnection.Builder cpeId(String cpeId)
cpeId
- the value to setpublic IPSecConnection.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 IPSecConnection.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 IPSecConnection.Builder drgId(String drgId)
The OCID of the DRG.
drgId
- the value to setpublic IPSecConnection.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 IPSecConnection.Builder id(String id)
The IPSec connection’s Oracle ID (OCID).
id
- the value to setpublic IPSecConnection.Builder lifecycleState(IPSecConnection.LifecycleState lifecycleState)
The IPSec connection’s current state.
lifecycleState
- the value to setpublic IPSecConnection.Builder staticRoutes(List<String> staticRoutes)
Static routes to the CPE. The CIDR must not be a multicast address or class E address.
Example: 10.0.1.0/24
staticRoutes
- the value to setpublic IPSecConnection.Builder timeCreated(Date timeCreated)
The date and time the IPSec connection was created, in the format defined by RFC3339.
Example: 2016-08-25T21:10:29.600Z
timeCreated
- the value to setpublic IPSecConnection build()
public IPSecConnection.Builder copy(IPSecConnection model)
Copyright © 2016–2023. All rights reserved.