Class VisibleTrafficNode
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.vnmonitoring.model.TrafficNode
-
- com.oracle.bmc.vnmonitoring.model.VisibleTrafficNode
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class VisibleTrafficNode extends TrafficNodeDefines the configuration of a traffic node that is visible to the user.
Note: Objects should always be created or deserialized using theVisibleTrafficNode.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 theVisibleTrafficNode.Builder, which maintain a set of all explicitly set fields calledVisibleTrafficNode.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 Summary
Nested Classes Modifier and Type Class Description static classVisibleTrafficNode.Builder-
Nested classes/interfaces inherited from class com.oracle.bmc.vnmonitoring.model.TrafficNode
TrafficNode.Type
-
-
Constructor Summary
Constructors Constructor Description VisibleTrafficNode(EgressTrafficSpec egressTraffic, RoutingAction nextHopRoutingAction, SecurityAction egressSecurityAction, SecurityAction ingressSecurityAction, String entityId, String transformationDescription)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VisibleTrafficNode.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetEntityId()The OCID of the OCI entity that represents the traffic node (Instance, GW, LB, etc.).StringgetTransformationDescription()Describes how the traffic was transformed.inthashCode()VisibleTrafficNode.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.-
Methods inherited from class com.oracle.bmc.vnmonitoring.model.TrafficNode
getEgressSecurityAction, getEgressTraffic, getIngressSecurityAction, getNextHopRoutingAction
-
-
-
-
Constructor Detail
-
VisibleTrafficNode
@Deprecated public VisibleTrafficNode(EgressTrafficSpec egressTraffic, RoutingAction nextHopRoutingAction, SecurityAction egressSecurityAction, SecurityAction ingressSecurityAction, String entityId, String transformationDescription)
Deprecated.
-
-
Method Detail
-
builder
public static VisibleTrafficNode.Builder builder()
Create a new builder.
-
toBuilder
public VisibleTrafficNode.Builder toBuilder()
-
getEntityId
public String getEntityId()
The OCID of the OCI entity that represents the traffic node (Instance, GW, LB, etc.).- Returns:
- the value
-
getTransformationDescription
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’
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classTrafficNode
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toStringin classTrafficNode- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classTrafficNode
-
hashCode
public int hashCode()
- Overrides:
hashCodein classTrafficNode
-
-