@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class CreateVirtualCircuitDetails extends Object
Note: Objects should always be created or deserialized using the CreateVirtualCircuitDetails.Builder
. This model distinguishes fields that are null
because they are unset from fields that are explicitly set to null
. This is done in the setter methods of the CreateVirtualCircuitDetails.Builder
, which maintain a set of all explicitly set fields called __explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take __explicitlySet__
into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
CreateVirtualCircuitDetails.Builder |
static class |
CreateVirtualCircuitDetails.Type
The type of IP addresses used in this virtual circuit.
|
Constructor and Description |
---|
CreateVirtualCircuitDetails(String bandwidthShapeName,
String compartmentId,
List<CrossConnectMapping> crossConnectMappings,
Integer customerBgpAsn,
String displayName,
String gatewayId,
String providerName,
String providerServiceId,
String providerServiceKeyName,
String providerServiceName,
List<CreateVirtualCircuitPublicPrefixDetails> publicPrefixes,
String region,
CreateVirtualCircuitDetails.Type type)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static CreateVirtualCircuitDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
String |
getBandwidthShapeName()
The provisioned data rate of the connection.
|
String |
getCompartmentId()
The OCID of the compartment to contain the virtual circuit.
|
List<CrossConnectMapping> |
getCrossConnectMappings()
Create a
CrossConnectMapping for each cross-connect or cross-connect group this virtual circuit will run on. |
Integer |
getCustomerBgpAsn()
Your BGP ASN (either public or private).
|
String |
getDisplayName()
A user-friendly name.
|
String |
getGatewayId()
For private virtual circuits only.
|
String |
getProviderName()
Deprecated.
|
String |
getProviderServiceId()
The OCID of the service offered by the provider (if you’re connecting via a provider).
|
String |
getProviderServiceKeyName()
The service key name offered by the provider (if the customer is connecting via a provider).
|
String |
getProviderServiceName()
Deprecated.
|
List<CreateVirtualCircuitPublicPrefixDetails> |
getPublicPrefixes()
For a public virtual circuit.
|
String |
getRegion()
The Oracle Cloud Infrastructure region where this virtual circuit is located.
|
CreateVirtualCircuitDetails.Type |
getType()
The type of IP addresses used in this virtual circuit.
|
int |
hashCode() |
String |
toString() |
@ConstructorProperties(value={"bandwidthShapeName","compartmentId","crossConnectMappings","customerBgpAsn","displayName","gatewayId","providerName","providerServiceId","providerServiceKeyName","providerServiceName","publicPrefixes","region","type"}) @Deprecated public CreateVirtualCircuitDetails(String bandwidthShapeName, String compartmentId, List<CrossConnectMapping> crossConnectMappings, Integer customerBgpAsn, String displayName, String gatewayId, String providerName, String providerServiceId, String providerServiceKeyName, String providerServiceName, List<CreateVirtualCircuitPublicPrefixDetails> publicPrefixes, String region, CreateVirtualCircuitDetails.Type type)
public static CreateVirtualCircuitDetails.Builder builder()
Create a new builder.
public String getBandwidthShapeName()
The provisioned data rate of the connection. To get a list of the available bandwidth levels (that is, shapes), see listFastConnectProviderVirtualCircuitBandwidthShapes
.
Example: 10 Gbps
public String getCompartmentId()
The OCID of the compartment to contain the virtual circuit.
public List<CrossConnectMapping> getCrossConnectMappings()
Create a CrossConnectMapping
for each cross-connect or cross-connect group this virtual circuit will run on.
public Integer getCustomerBgpAsn()
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.
public String getDisplayName()
A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
public String getGatewayId()
For private virtual circuits only. The OCID of the Drg
that this virtual circuit uses.
public String getProviderName()
Deprecated. Instead use providerServiceId
. To get a list of the provider names, see listFastConnectProviderServices
.
public String getProviderServiceId()
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
.
public String getProviderServiceKeyName()
The service key name offered by the provider (if the customer is connecting via a provider).
public String getProviderServiceName()
Deprecated. Instead use providerServiceId
. To get a list of the provider names, see listFastConnectProviderServices
.
public List<CreateVirtualCircuitPublicPrefixDetails> getPublicPrefixes()
For a public virtual circuit. The public IP prefixes (CIDRs) the customer wants to advertise across the connection.
public String getRegion()
The Oracle Cloud Infrastructure region where this virtual circuit is located. Example: phx
public CreateVirtualCircuitDetails.Type getType()
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). Only PRIVATE is supported.
Copyright © 2016–2019. All rights reserved.