public static class CreateCpeDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateCpeDetails |
build() |
CreateCpeDetails.Builder |
compartmentId(String compartmentId)
The OCID
of the compartment to contain the CPE.
|
CreateCpeDetails.Builder |
copy(CreateCpeDetails model) |
CreateCpeDetails.Builder |
cpeDeviceShapeId(String cpeDeviceShapeId)
The OCID
of the CPE device type.
|
CreateCpeDetails.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
CreateCpeDetails.Builder |
displayName(String displayName)
A user-friendly name.
|
CreateCpeDetails.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
CreateCpeDetails.Builder |
ipAddress(String ipAddress)
The public IP address of the on-premises router.
|
CreateCpeDetails.Builder |
isPrivate(Boolean isPrivate)
Indicates whether this CPE is of type
private or not. |
public CreateCpeDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment to contain the CPE.
compartmentId
- the value to setpublic CreateCpeDetails.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 CreateCpeDetails.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 CreateCpeDetails.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 CreateCpeDetails.Builder ipAddress(String ipAddress)
The public IP address of the on-premises router.
Example: 203.0.113.2
ipAddress
- the value to setpublic CreateCpeDetails.Builder cpeDeviceShapeId(String cpeDeviceShapeId)
The OCID
of the CPE device type. You can provide a value if you want to later generate CPE device
configuration content for IPSec connections that use this CPE. You can also call updateCpe
later to provide a value. For a list of possible
values, see listCpeDeviceShapes
.
For more information about generating CPE device configuration content, see:
getCpeDeviceConfigContent
* getIpsecCpeDeviceConfigContent
* getTunnelCpeDeviceConfigContent
* getTunnelCpeDeviceConfig
cpeDeviceShapeId
- the value to setpublic CreateCpeDetails.Builder isPrivate(Boolean isPrivate)
Indicates whether this CPE is of type private
or not.
isPrivate
- the value to setpublic CreateCpeDetails build()
public CreateCpeDetails.Builder copy(CreateCpeDetails model)
Copyright © 2016–2024. All rights reserved.