Class UpdateVirtualCircuitDetails
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.vnmonitoring.model.UpdateVirtualCircuitDetails
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class UpdateVirtualCircuitDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 Note: Objects should always be created or deserialized using theUpdateVirtualCircuitDetails.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 UpdateVirtualCircuitDetails.Builder, which maintain a set of all explicitly set fields calledUpdateVirtualCircuitDetails.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 SummaryNested Classes Modifier and Type Class Description static classUpdateVirtualCircuitDetails.BgpAdminStateSet to ENABLED (the default) to activate the BGP session of the virtual circuit, set to DISABLED to deactivate the virtual circuit.static classUpdateVirtualCircuitDetails.Builderstatic classUpdateVirtualCircuitDetails.ProviderStateThe provider’s state in relation to this virtual circuit.static classUpdateVirtualCircuitDetails.RoutingPolicy
 - 
Constructor SummaryConstructors Constructor Description UpdateVirtualCircuitDetails(String bandwidthShapeName, List<CrossConnectMapping> crossConnectMappings, List<UpdateVirtualCircuitDetails.RoutingPolicy> routingPolicy, UpdateVirtualCircuitDetails.BgpAdminState bgpAdminState, Boolean isBfdEnabled, Boolean isTransportMode, Integer customerBgpAsn, Long customerAsn, Map<String,Map<String,Object>> definedTags, String displayName, Map<String,String> freeformTags, String gatewayId, UpdateVirtualCircuitDetails.ProviderState providerState, String providerServiceKeyName, String referenceComment, VirtualCircuitIpMtu ipMtu)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateVirtualCircuitDetails.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetBandwidthShapeName()The provisioned data rate of the connection.UpdateVirtualCircuitDetails.BgpAdminStategetBgpAdminState()Set to ENABLED (the default) to activate the BGP session of the virtual circuit, set to DISABLED to deactivate the virtual circuit.List<CrossConnectMapping>getCrossConnectMappings()An array of mappings, each containing properties for a cross-connect or cross-connect group associated with this virtual circuit.LonggetCustomerAsn()The BGP ASN of the network at the other end of the BGP session from Oracle.IntegergetCustomerBgpAsn()Deprecated.Map<String,Map<String,Object>>getDefinedTags()Defined tags for this resource.StringgetDisplayName()A user-friendly name.Map<String,String>getFreeformTags()Simple key-value pair that is applied without any predefined name, type or scope.StringgetGatewayId()VirtualCircuitIpMtugetIpMtu()The layer 3 IP MTU to use on this virtual circuit.BooleangetIsBfdEnabled()Set to true to enable BFD for IPv4 BGP peering, or set to false to disable BFD.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.StringgetProviderServiceKeyName()The service key name offered by the provider (if the customer is connecting via a provider).UpdateVirtualCircuitDetails.ProviderStategetProviderState()The provider’s state in relation to this virtual circuit.StringgetReferenceComment()Provider-supplied reference information about this virtual circuit.List<UpdateVirtualCircuitDetails.RoutingPolicy>getRoutingPolicy()The routing policy sets how routing information about the Oracle cloud is shared over a public virtual circuit.inthashCode()UpdateVirtualCircuitDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
UpdateVirtualCircuitDetails@Deprecated @ConstructorProperties({"bandwidthShapeName","crossConnectMappings","routingPolicy","bgpAdminState","isBfdEnabled","isTransportMode","customerBgpAsn","customerAsn","definedTags","displayName","freeformTags","gatewayId","providerState","providerServiceKeyName","referenceComment","ipMtu"}) public UpdateVirtualCircuitDetails(String bandwidthShapeName, List<CrossConnectMapping> crossConnectMappings, List<UpdateVirtualCircuitDetails.RoutingPolicy> routingPolicy, UpdateVirtualCircuitDetails.BgpAdminState bgpAdminState, Boolean isBfdEnabled, Boolean isTransportMode, Integer customerBgpAsn, Long customerAsn, Map<String,Map<String,Object>> definedTags, String displayName, Map<String,String> freeformTags, String gatewayId, UpdateVirtualCircuitDetails.ProviderState providerState, String providerServiceKeyName, String referenceComment, VirtualCircuitIpMtu ipMtu) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static UpdateVirtualCircuitDetails.Builder builder() Create a new builder.
 - 
toBuilderpublic UpdateVirtualCircuitDetails.Builder toBuilder() 
 - 
getBandwidthShapeNamepublic String getBandwidthShapeName() The provisioned data rate of the connection.To get a list of the available bandwidth levels (that is, shapes), see listFastConnectProviderVirtualCircuitBandwidthShapes. To be updated only by the customer who owns the virtual circuit.- Returns:
- the value
 
 - 
getCrossConnectMappingspublic List<CrossConnectMapping> getCrossConnectMappings() An array of mappings, each containing properties for a cross-connect or cross-connect group associated with this virtual circuit.The customer and provider can update different properties in the mapping depending on the situation. See the description of the CrossConnectMapping.- Returns:
- the value
 
 - 
getRoutingPolicypublic List<UpdateVirtualCircuitDetails.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
 
 - 
getBgpAdminStatepublic UpdateVirtualCircuitDetails.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
 
 - 
getIsBfdEnabledpublic 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
 
 - 
getIsTransportModepublic 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
 
 - 
getCustomerBgpAsnpublic Integer getCustomerBgpAsn() Deprecated.Instead use customerAsn. If you specify values for both, the request will be rejected. - Returns:
- the value
 
 - 
getCustomerAsnpublic Long getCustomerAsn() The BGP ASN of the network at the other end of the BGP session from Oracle.If the BGP session is from the customer's edge router to Oracle, the required value is the customer's ASN, and it can be updated only by the customer. If the BGP session is from the provider's edge router to Oracle, the required value is the provider's ASN, and it can be updated only by the provider. Can be a 2-byte or 4-byte ASN. Uses "asplain" format. - Returns:
- the value
 
 - 
getDefinedTagspublic 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
 
 - 
getDisplayNamepublic String getDisplayName() A user-friendly name.Does not have to be unique, and it’s changeable. Avoid entering confidential information. - Returns:
- the value
 
 - 
getFreeformTagspublic 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
 
 - 
getGatewayIdpublic String getGatewayId() The OCID of theDrgthat this private virtual circuit uses.To be updated only by the customer who owns the virtual circuit. - Returns:
- the value
 
 - 
getProviderStatepublic UpdateVirtualCircuitDetails.ProviderState getProviderState() The provider’s state in relation to this virtual circuit.Relevant only if the customer is using FastConnect via a provider. ACTIVE means the provider has provisioned the virtual circuit from their end. INACTIVE means the provider has not yet provisioned the virtual circuit, or has de-provisioned it. To be updated only by the provider. - Returns:
- the value
 
 - 
getProviderServiceKeyNamepublic String getProviderServiceKeyName() The service key name offered by the provider (if the customer is connecting via a provider).- Returns:
- the value
 
 - 
getReferenceCommentpublic String getReferenceComment() Provider-supplied reference information about this virtual circuit.Relevant only if the customer is using FastConnect via a provider. To be updated only by the provider. - Returns:
- the value
 
 - 
getIpMtupublic VirtualCircuitIpMtu getIpMtu() The layer 3 IP MTU to use on this virtual circuit.- Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic 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
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-