@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class VcnRoutingConfiguration extends ForwardedRoutingConfiguration
Identifies the VCN route table and rule that allowed the traffic to be forwarded.
VcnRoutingConfiguration.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 VcnRoutingConfiguration.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 |
VcnRoutingConfiguration.Builder |
ForwardedRoutingConfiguration.Type
Constructor and Description |
---|
VcnRoutingConfiguration(String vcnRouteTableId,
RouteRule routeRule)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static VcnRoutingConfiguration.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
RouteRule |
getRouteRule() |
String |
getVcnRouteTableId()
The OCID of the VCN route
table that allowed the traffic.
|
int |
hashCode() |
VcnRoutingConfiguration.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public VcnRoutingConfiguration(String vcnRouteTableId, RouteRule routeRule)
public static VcnRoutingConfiguration.Builder builder()
Create a new builder.
public VcnRoutingConfiguration.Builder toBuilder()
public String getVcnRouteTableId()
The OCID of the VCN route table that allowed the traffic.
public RouteRule getRouteRule()
public String toString()
toString
in class ForwardedRoutingConfiguration
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class ForwardedRoutingConfiguration
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class ForwardedRoutingConfiguration
public int hashCode()
hashCode
in class ForwardedRoutingConfiguration
Copyright © 2016–2023. All rights reserved.