public static class CreateVirtualCircuitDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateVirtualCircuitDetails.Builder |
bandwidthShapeName(String bandwidthShapeName)
The provisioned data rate of the connection.
|
CreateVirtualCircuitDetails.Builder |
bgpAdminState(CreateVirtualCircuitDetails.BgpAdminState bgpAdminState)
Set to
ENABLED (the default) to activate the BGP session of the virtual circuit,
set to DISABLED to deactivate the virtual circuit. |
CreateVirtualCircuitDetails |
build() |
CreateVirtualCircuitDetails.Builder |
compartmentId(String compartmentId)
The OCID
of the compartment to contain the virtual circuit.
|
CreateVirtualCircuitDetails.Builder |
copy(CreateVirtualCircuitDetails model) |
CreateVirtualCircuitDetails.Builder |
crossConnectMappings(List<CrossConnectMapping> crossConnectMappings)
Create a
CrossConnectMapping for each cross-connect or cross-connect group this
virtual circuit will run on. |
CreateVirtualCircuitDetails.Builder |
customerAsn(Long customerAsn)
Your BGP ASN (either public or private).
|
CreateVirtualCircuitDetails.Builder |
customerBgpAsn(Integer customerBgpAsn)
Deprecated.
|
CreateVirtualCircuitDetails.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
CreateVirtualCircuitDetails.Builder |
displayName(String displayName)
A user-friendly name.
|
CreateVirtualCircuitDetails.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
CreateVirtualCircuitDetails.Builder |
gatewayId(String gatewayId)
For private virtual circuits only.
|
CreateVirtualCircuitDetails.Builder |
ipMtu(VirtualCircuitIpMtu ipMtu)
The layer 3 IP MTU to use with this virtual circuit.
|
CreateVirtualCircuitDetails.Builder |
isBfdEnabled(Boolean isBfdEnabled)
Set to
true to enable BFD for IPv4 BGP peering, or set to false to
disable BFD. |
CreateVirtualCircuitDetails.Builder |
isTransportMode(Boolean isTransportMode)
Set to
true for the virtual circuit to carry only encrypted traffic, or set to
false for the virtual circuit to carry unencrypted traffic. |
CreateVirtualCircuitDetails.Builder |
providerName(String providerName)
Deprecated.
|
CreateVirtualCircuitDetails.Builder |
providerServiceId(String providerServiceId)
The OCID
of the service offered by the provider (if you’re connecting via a provider).
|
CreateVirtualCircuitDetails.Builder |
providerServiceKeyName(String providerServiceKeyName)
The service key name offered by the provider (if the customer is connecting via a
provider).
|
CreateVirtualCircuitDetails.Builder |
providerServiceName(String providerServiceName)
Deprecated.
|
CreateVirtualCircuitDetails.Builder |
publicPrefixes(List<CreateVirtualCircuitPublicPrefixDetails> publicPrefixes)
For a public virtual circuit.
|
CreateVirtualCircuitDetails.Builder |
region(String region)
The Oracle Cloud Infrastructure region where this virtual circuit is located.
|
CreateVirtualCircuitDetails.Builder |
routingPolicy(List<CreateVirtualCircuitDetails.RoutingPolicy> routingPolicy)
The routing policy sets how routing information about the Oracle cloud is shared over a
public virtual circuit.
|
CreateVirtualCircuitDetails.Builder |
type(CreateVirtualCircuitDetails.Type type)
The type of IP addresses used in this virtual circuit.
|
public CreateVirtualCircuitDetails.Builder bandwidthShapeName(String bandwidthShapeName)
The provisioned data rate of the connection. To get a list of the available bandwidth
levels (that is, shapes), see listFastConnectProviderVirtualCircuitBandwidthShapes
.
Example: 10 Gbps
bandwidthShapeName
- the value to setpublic CreateVirtualCircuitDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment to contain the virtual circuit.
compartmentId
- the value to setpublic CreateVirtualCircuitDetails.Builder crossConnectMappings(List<CrossConnectMapping> crossConnectMappings)
Create a CrossConnectMapping
for each cross-connect or cross-connect group this
virtual circuit will run on.
crossConnectMappings
- the value to setpublic CreateVirtualCircuitDetails.Builder routingPolicy(List<CreateVirtualCircuitDetails.RoutingPolicy> routingPolicy)
The routing policy sets how routing information about the Oracle cloud is shared over a
public virtual circuit. Policies available are: ORACLE_SERVICE_NETWORK
, REGIONAL
, MARKET_LEVEL
, and GLOBAL
. See Route
Filtering
for details. By default, routing information is shared for all routes in the same market.
routingPolicy
- the value to setpublic CreateVirtualCircuitDetails.Builder bgpAdminState(CreateVirtualCircuitDetails.BgpAdminState bgpAdminState)
Set to ENABLED
(the default) to activate the BGP session of the virtual circuit,
set to DISABLED
to deactivate the virtual circuit.
bgpAdminState
- the value to setpublic CreateVirtualCircuitDetails.Builder isBfdEnabled(Boolean isBfdEnabled)
Set to true
to enable BFD for IPv4 BGP peering, or set to false
to
disable BFD. If this is not set, the default is false
.
isBfdEnabled
- the value to setpublic CreateVirtualCircuitDetails.Builder isTransportMode(Boolean isTransportMode)
Set to true
for the virtual circuit to carry only encrypted traffic, or set to
false
for the virtual circuit to carry unencrypted traffic. If this is not set,
the default is false
.
isTransportMode
- the value to setpublic CreateVirtualCircuitDetails.Builder customerBgpAsn(Integer customerBgpAsn)
Deprecated. Instead use customerAsn
. If you specify values for both, the request
will be rejected.
customerBgpAsn
- the value to setpublic CreateVirtualCircuitDetails.Builder customerAsn(Long customerAsn)
Your BGP ASN (either public or private). Provide this value only if there’s a BGP session that goes from your edge router to Oracle. Otherwise, leave this empty or null. Can be a 2-byte or 4-byte ASN. Uses “asplain” format.
Example: 12345
(2-byte) or 1587232876
(4-byte)
customerAsn
- the value to setpublic CreateVirtualCircuitDetails.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 CreateVirtualCircuitDetails.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 CreateVirtualCircuitDetails.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 CreateVirtualCircuitDetails.Builder gatewayId(String gatewayId)
gatewayId
- the value to setpublic CreateVirtualCircuitDetails.Builder providerName(String providerName)
Deprecated. Instead use providerServiceId
. To get a list of the provider names,
see listFastConnectProviderServices
.
providerName
- the value to setpublic CreateVirtualCircuitDetails.Builder providerServiceId(String providerServiceId)
The OCID
of the service offered by the provider (if you’re connecting via a provider). To get a
list of the available service offerings, see listFastConnectProviderServices
.
providerServiceId
- the value to setpublic CreateVirtualCircuitDetails.Builder providerServiceKeyName(String providerServiceKeyName)
The service key name offered by the provider (if the customer is connecting via a provider).
providerServiceKeyName
- the value to setpublic CreateVirtualCircuitDetails.Builder providerServiceName(String providerServiceName)
Deprecated. Instead use providerServiceId
. To get a list of the provider names,
see listFastConnectProviderServices
.
providerServiceName
- the value to setpublic CreateVirtualCircuitDetails.Builder publicPrefixes(List<CreateVirtualCircuitPublicPrefixDetails> publicPrefixes)
For a public virtual circuit. The public IP prefixes (CIDRs) the customer wants to advertise across the connection.
publicPrefixes
- the value to setpublic CreateVirtualCircuitDetails.Builder region(String region)
The Oracle Cloud Infrastructure region where this virtual circuit is located. Example:
phx
region
- the value to setpublic CreateVirtualCircuitDetails.Builder type(CreateVirtualCircuitDetails.Type type)
The type of IP addresses used in this virtual circuit. PRIVATE means RFC 1918 addresses (10.0.0.0/8, 172.16/12, and 192.168/16).
type
- the value to setpublic CreateVirtualCircuitDetails.Builder ipMtu(VirtualCircuitIpMtu ipMtu)
The layer 3 IP MTU to use with this virtual circuit.
ipMtu
- the value to setpublic CreateVirtualCircuitDetails build()
public CreateVirtualCircuitDetails.Builder copy(CreateVirtualCircuitDetails model)
Copyright © 2016–2024. All rights reserved.