@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.
Note: Objects should always be created or deserialized using the 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 VcnRoutingConfiguration.Builder.__explicitlySet__
. The hashCode()
and equals(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
).
Modifier and Type | Class and Description |
---|---|
static class |
VcnRoutingConfiguration.Builder |
ForwardedRoutingConfiguration.Type
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
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–2024. All rights reserved.