Class TunnelSecurityAssociationSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.vnmonitoring.model.TunnelSecurityAssociationSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class TunnelSecurityAssociationSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
A summary of the IPSec tunnel security association details.
Note: Objects should always be created or deserialized using theTunnelSecurityAssociationSummary.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 theTunnelSecurityAssociationSummary.Builder
, which maintain a set of all explicitly set fields calledTunnelSecurityAssociationSummary.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 class
TunnelSecurityAssociationSummary.Builder
static class
TunnelSecurityAssociationSummary.TunnelSaStatus
The IPSec tunnel’s phase one status.
-
Constructor Summary
Constructors Constructor Description TunnelSecurityAssociationSummary(String cpeSubnet, String oracleSubnet, TunnelSecurityAssociationSummary.TunnelSaStatus tunnelSaStatus, String tunnelSaErrorInfo, String time)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TunnelSecurityAssociationSummary.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getCpeSubnet()
The IP address and mask of the partner subnet used in policy based VPNs or static routes.String
getOracleSubnet()
The IP address and mask of the local subnet used in policy based VPNs or static routes.String
getTime()
Time in the current state, in seconds.String
getTunnelSaErrorInfo()
Current state if the IPSec tunnel status is not UP, including phase one and phase two details and a possible reason the tunnel is not UP.TunnelSecurityAssociationSummary.TunnelSaStatus
getTunnelSaStatus()
The IPSec tunnel’s phase one status.int
hashCode()
TunnelSecurityAssociationSummary.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
TunnelSecurityAssociationSummary
@Deprecated @ConstructorProperties({"cpeSubnet","oracleSubnet","tunnelSaStatus","tunnelSaErrorInfo","time"}) public TunnelSecurityAssociationSummary(String cpeSubnet, String oracleSubnet, TunnelSecurityAssociationSummary.TunnelSaStatus tunnelSaStatus, String tunnelSaErrorInfo, String time)
Deprecated.
-
-
Method Detail
-
builder
public static TunnelSecurityAssociationSummary.Builder builder()
Create a new builder.
-
toBuilder
public TunnelSecurityAssociationSummary.Builder toBuilder()
-
getCpeSubnet
public String getCpeSubnet()
The IP address and mask of the partner subnet used in policy based VPNs or static routes.- Returns:
- the value
-
getOracleSubnet
public String getOracleSubnet()
The IP address and mask of the local subnet used in policy based VPNs or static routes.- Returns:
- the value
-
getTunnelSaStatus
public TunnelSecurityAssociationSummary.TunnelSaStatus getTunnelSaStatus()
The IPSec tunnel’s phase one status.- Returns:
- the value
-
getTunnelSaErrorInfo
public String getTunnelSaErrorInfo()
Current state if the IPSec tunnel status is not UP, including phase one and phase two details and a possible reason the tunnel is not UP.- Returns:
- the value
-
getTime
public String getTime()
Time in the current state, in seconds.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-