@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class VisibleTrafficNode extends TrafficNode
Defines the configuration of a traffic node that is visible to the user.
Note: Objects should always be created or deserialized using the VisibleTrafficNode.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 VisibleTrafficNode.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 |
VisibleTrafficNode.Builder |
TrafficNode.Type
Constructor and Description |
---|
VisibleTrafficNode(EgressTrafficSpec egressTraffic,
RoutingAction nextHopRoutingAction,
SecurityAction egressSecurityAction,
SecurityAction ingressSecurityAction,
String entityId,
String transformationDescription)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static VisibleTrafficNode.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getEntityId()
The OCID of the OCI entity that
represents the traffic node (Instance, GW, LB, etc.).
|
String |
getTransformationDescription()
Describes how the traffic was transformed.
|
int |
hashCode() |
VisibleTrafficNode.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
getEgressSecurityAction, getEgressTraffic, getIngressSecurityAction, getNextHopRoutingAction
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public VisibleTrafficNode(EgressTrafficSpec egressTraffic, RoutingAction nextHopRoutingAction, SecurityAction egressSecurityAction, SecurityAction ingressSecurityAction, String entityId, String transformationDescription)
public static VisibleTrafficNode.Builder builder()
Create a new builder.
public VisibleTrafficNode.Builder toBuilder()
public String getEntityId()
The OCID of the OCI entity that represents the traffic node (Instance, GW, LB, etc.).
public String getTransformationDescription()
Describes how the traffic was transformed. For example, if an address is translated by a NAT GW, the string will describe the translation: ‘SNAT: 10.0.0.1->204.0.0.1’
public String toString()
toString
in class TrafficNode
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class TrafficNode
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class TrafficNode
public int hashCode()
hashCode
in class TrafficNode
Copyright © 2016–2023. All rights reserved.