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 classCreateVirtualCircuitDetails.Builderstatic classCreateVirtualCircuitDetails.TypeThe type of IP addresses used in this virtual circuit.
-
Constructor Summary
Constructors Constructor Description CreateVirtualCircuitDetails(String bandwidthShapeName, String compartmentId, List<CrossConnectMapping> crossConnectMappings, Boolean isTransportMode, Integer customerBgpAsn, String displayName, String gatewayId, String providerName, String providerServiceId, String providerServiceName, List<CreateVirtualCircuitPublicPrefixDetails> publicPrefixes, String region, CreateVirtualCircuitDetails.Type type)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateVirtualCircuitDetails.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetBandwidthShapeName()The provisioned data rate of the connection.StringgetCompartmentId()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.IntegergetCustomerBgpAsn()Your BGP ASN (either public or private).StringgetDisplayName()A user-friendly name.StringgetGatewayId()For private virtual circuits only.BooleangetIsTransportMode()Set to true for the virtual circuit to carry only encrypted traffic, or set to false for the virtual circuit to carry unencrypted traffic.StringgetProviderName()Deprecated.StringgetProviderServiceId()The OCID of the service offered by the provider (if you’re connecting via a provider).StringgetProviderServiceName()Deprecated.List<CreateVirtualCircuitPublicPrefixDetails>getPublicPrefixes()For a public virtual circuit.StringgetRegion()The Oracle Cloud Infrastructure region where this virtual circuit is located.CreateVirtualCircuitDetails.TypegetType()The type of IP addresses used in this virtual circuit.inthashCode()CreateVirtualCircuitDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
CreateVirtualCircuitDetails
@Deprecated @ConstructorProperties({"bandwidthShapeName","compartmentId","crossConnectMappings","isTransportMode","customerBgpAsn","displayName","gatewayId","providerName","providerServiceId","providerServiceName","publicPrefixes","region","type"}) public CreateVirtualCircuitDetails(String bandwidthShapeName, String compartmentId, List<CrossConnectMapping> crossConnectMappings, Boolean isTransportMode, Integer customerBgpAsn, String displayName, String gatewayId, String providerName, String providerServiceId, String providerServiceName, List<CreateVirtualCircuitPublicPrefixDetails> publicPrefixes, String region, CreateVirtualCircuitDetails.Type type)
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
-
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()
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.
- 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
-
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
-
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
-
toString
public String toString()
- Overrides:
toStringin 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:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-