Class CreateVirtualCircuitDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.vnmonitoring.model.CreateVirtualCircuitDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class CreateVirtualCircuitDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Note: Objects should always be created or deserialized using theCreateVirtualCircuitDetails.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 calledCreateVirtualCircuitDetails.Builder.__explicitlySet__
. ThehashCode()
andequals(Object)
methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CreateVirtualCircuitDetails.BgpAdminState
Set to ENABLED (the default) to activate the BGP session of the virtual circuit, set to DISABLED to deactivate the virtual circuit.static class
CreateVirtualCircuitDetails.Builder
static class
CreateVirtualCircuitDetails.RoutingPolicy
static class
CreateVirtualCircuitDetails.Type
The type of IP addresses used in this virtual circuit.
-
Constructor Summary
Constructors Constructor Description CreateVirtualCircuitDetails(String bandwidthShapeName, String compartmentId, List<CrossConnectMapping> crossConnectMappings, List<CreateVirtualCircuitDetails.RoutingPolicy> routingPolicy, CreateVirtualCircuitDetails.BgpAdminState bgpAdminState, Boolean isBfdEnabled, Boolean isTransportMode, Integer customerBgpAsn, Long customerAsn, Map<String,Map<String,Object>> definedTags, String displayName, Map<String,String> freeformTags, String gatewayId, String providerName, String providerServiceId, String providerServiceKeyName, String providerServiceName, List<CreateVirtualCircuitPublicPrefixDetails> publicPrefixes, String region, CreateVirtualCircuitDetails.Type type, VirtualCircuitIpMtu ipMtu)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateVirtualCircuitDetails.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getBandwidthShapeName()
The provisioned data rate of the connection.CreateVirtualCircuitDetails.BgpAdminState
getBgpAdminState()
Set to ENABLED (the default) to activate the BGP session of the virtual circuit, set to DISABLED to deactivate the virtual circuit.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.Long
getCustomerAsn()
Your BGP ASN (either public or private).Integer
getCustomerBgpAsn()
Deprecated.Map<String,Map<String,Object>>
getDefinedTags()
Defined tags for this resource.String
getDisplayName()
A user-friendly name.Map<String,String>
getFreeformTags()
Simple key-value pair that is applied without any predefined name, type or scope.String
getGatewayId()
For private virtual circuits only.VirtualCircuitIpMtu
getIpMtu()
The layer 3 IP MTU to use with this virtual circuit.Boolean
getIsBfdEnabled()
Set to true to enable BFD for IPv4 BGP peering, or set to false to disable BFD.Boolean
getIsTransportMode()
Set to true for the virtual circuit to carry only encrypted traffic, or set to false for the virtual circuit to carry unencrypted traffic.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.List<CreateVirtualCircuitDetails.RoutingPolicy>
getRoutingPolicy()
The routing policy sets how routing information about the Oracle cloud is shared over a public virtual circuit.CreateVirtualCircuitDetails.Type
getType()
The type of IP addresses used in this virtual circuit.int
hashCode()
CreateVirtualCircuitDetails.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
CreateVirtualCircuitDetails
@Deprecated @ConstructorProperties({"bandwidthShapeName","compartmentId","crossConnectMappings","routingPolicy","bgpAdminState","isBfdEnabled","isTransportMode","customerBgpAsn","customerAsn","definedTags","displayName","freeformTags","gatewayId","providerName","providerServiceId","providerServiceKeyName","providerServiceName","publicPrefixes","region","type","ipMtu"}) public CreateVirtualCircuitDetails(String bandwidthShapeName, String compartmentId, List<CrossConnectMapping> crossConnectMappings, List<CreateVirtualCircuitDetails.RoutingPolicy> routingPolicy, CreateVirtualCircuitDetails.BgpAdminState bgpAdminState, Boolean isBfdEnabled, Boolean isTransportMode, Integer customerBgpAsn, Long customerAsn, Map<String,Map<String,Object>> definedTags, String displayName, Map<String,String> freeformTags, String gatewayId, String providerName, String providerServiceId, String providerServiceKeyName, String providerServiceName, List<CreateVirtualCircuitPublicPrefixDetails> publicPrefixes, String region, CreateVirtualCircuitDetails.Type type, VirtualCircuitIpMtu ipMtu)
Deprecated.
-
-
Method Detail
-
builder
public static CreateVirtualCircuitDetails.Builder builder()
Create a new builder.
-
toBuilder
public CreateVirtualCircuitDetails.Builder toBuilder()
-
getBandwidthShapeName
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
- Returns:
- the value
-
getCompartmentId
public String getCompartmentId()
The OCID of the compartment to contain the virtual circuit.- Returns:
- the value
-
getCrossConnectMappings
public List<CrossConnectMapping> getCrossConnectMappings()
Create a CrossConnectMapping for each cross-connect or cross-connect group this virtual circuit will run on.- Returns:
- the value
-
getRoutingPolicy
public List<CreateVirtualCircuitDetails.RoutingPolicy> getRoutingPolicy()
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.
- Returns:
- the value
-
getBgpAdminState
public CreateVirtualCircuitDetails.BgpAdminState getBgpAdminState()
Set to ENABLED (the default) to activate the BGP session of the virtual circuit, set to DISABLED to deactivate the virtual circuit.- Returns:
- the value
-
getIsBfdEnabled
public Boolean getIsBfdEnabled()
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.
- Returns:
- the value
-
getIsTransportMode
public Boolean getIsTransportMode()
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.
- Returns:
- the value
-
getCustomerBgpAsn
public Integer getCustomerBgpAsn()
Deprecated.Instead use customerAsn. If you specify values for both, the request will be rejected.
- Returns:
- the value
-
getCustomerAsn
public Long getCustomerAsn()
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)
- Returns:
- the value
-
getDefinedTags
public Map<String,Map<String,Object>> getDefinedTags()
Defined tags for this resource.Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Returns:
- the value
-
getDisplayName
public String getDisplayName()
A user-friendly name.Does not have to be unique, and it’s changeable. Avoid entering confidential information.
- Returns:
- the value
-
getFreeformTags
public Map<String,String> getFreeformTags()
Simple key-value pair that is applied without any predefined name, type or scope.Exists for cross-compatibility only. Example: {“bar-key”: “value”}
- Returns:
- the value
-
getGatewayId
public String getGatewayId()
- Returns:
- the value
-
getProviderName
public String getProviderName()
Deprecated.Instead use providerServiceId. To get a list of the provider names, see
listFastConnectProviderServices
.- Returns:
- the value
-
getProviderServiceId
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
.- Returns:
- the value
-
getProviderServiceKeyName
public String getProviderServiceKeyName()
The service key name offered by the provider (if the customer is connecting via a provider).- Returns:
- the value
-
getProviderServiceName
public String getProviderServiceName()
Deprecated.Instead use providerServiceId. To get a list of the provider names, see
listFastConnectProviderServices
.- Returns:
- the value
-
getPublicPrefixes
public List<CreateVirtualCircuitPublicPrefixDetails> getPublicPrefixes()
For a public virtual circuit.The public IP prefixes (CIDRs) the customer wants to advertise across the connection.
- Returns:
- the value
-
getRegion
public String getRegion()
The Oracle Cloud Infrastructure region where this virtual circuit is located.Example: phx
- Returns:
- the value
-
getType
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).
- Returns:
- the value
-
getIpMtu
public VirtualCircuitIpMtu getIpMtu()
The layer 3 IP MTU to use with this virtual circuit.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-