@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class UpdateVirtualCircuitDetails extends ExplicitlySetBmcModel
UpdateVirtualCircuitDetails.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 called
ExplicitlySetBmcModel.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take
ExplicitlySetBmcModel.__explicitlySet__
into account. The constructor, on the other hand, does not set ExplicitlySetBmcModel.__explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).Modifier and Type | Class and Description |
---|---|
static class |
UpdateVirtualCircuitDetails.Builder |
static class |
UpdateVirtualCircuitDetails.ProviderState
The provider’s state in relation to this virtual circuit.
|
Constructor and Description |
---|
UpdateVirtualCircuitDetails(String bandwidthShapeName,
List<CrossConnectMapping> crossConnectMappings,
Integer customerBgpAsn,
String displayName,
String gatewayId,
UpdateVirtualCircuitDetails.ProviderState providerState,
String referenceComment)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static UpdateVirtualCircuitDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getBandwidthShapeName()
The provisioned data rate of the connection.
|
List<CrossConnectMapping> |
getCrossConnectMappings()
An array of mappings, each containing properties for a cross-connect or
cross-connect group associated with this virtual circuit.
|
Integer |
getCustomerBgpAsn()
The BGP ASN of the network at the other end of the BGP
session from Oracle.
|
String |
getDisplayName()
A user-friendly name.
|
String |
getGatewayId()
|
UpdateVirtualCircuitDetails.ProviderState |
getProviderState()
The provider’s state in relation to this virtual circuit.
|
String |
getReferenceComment()
Provider-supplied reference information about this virtual circuit.
|
int |
hashCode() |
UpdateVirtualCircuitDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"bandwidthShapeName","crossConnectMappings","customerBgpAsn","displayName","gatewayId","providerState","referenceComment"}) public UpdateVirtualCircuitDetails(String bandwidthShapeName, List<CrossConnectMapping> crossConnectMappings, Integer customerBgpAsn, String displayName, String gatewayId, UpdateVirtualCircuitDetails.ProviderState providerState, String referenceComment)
public static UpdateVirtualCircuitDetails.Builder builder()
Create a new builder.
public UpdateVirtualCircuitDetails.Builder toBuilder()
public 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.
public 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
.
public Integer getCustomerBgpAsn()
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.
public String getDisplayName()
A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
public String getGatewayId()
The OCID of the Drg
that this private virtual circuit uses.
To be updated only by the customer who owns the virtual circuit.
public 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.
public 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.
public String toString()
toString
in class ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class ExplicitlySetBmcModel
public int hashCode()
hashCode
in class ExplicitlySetBmcModel
Copyright © 2016–2023. All rights reserved.