Class TunnelPhaseOneDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.vnmonitoring.model.TunnelPhaseOneDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class TunnelPhaseOneDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
IPSec tunnel details specific to ISAKMP phase one.
Note: Objects should always be created or deserialized using theTunnelPhaseOneDetails.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 theTunnelPhaseOneDetails.Builder
, which maintain a set of all explicitly set fields calledTunnelPhaseOneDetails.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
TunnelPhaseOneDetails.Builder
-
Constructor Summary
Constructors Constructor Description TunnelPhaseOneDetails(Boolean isCustomPhaseOneConfig, Long lifetime, Long remainingLifetime, String customAuthenticationAlgorithm, String negotiatedAuthenticationAlgorithm, String customEncryptionAlgorithm, String negotiatedEncryptionAlgorithm, String customDhGroup, String negotiatedDhGroup, Boolean isIkeEstablished, Date remainingLifetimeLastRetrieved)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TunnelPhaseOneDetails.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getCustomAuthenticationAlgorithm()
The proposed custom authentication algorithm.String
getCustomDhGroup()
The proposed custom Diffie-Hellman group.String
getCustomEncryptionAlgorithm()
The proposed custom encryption algorithm.Boolean
getIsCustomPhaseOneConfig()
Indicates whether custom phase one configuration is enabled.Boolean
getIsIkeEstablished()
Indicates whether IKE phase one is established.Long
getLifetime()
The total configured lifetime of the IKE security association.String
getNegotiatedAuthenticationAlgorithm()
The negotiated authentication algorithm.String
getNegotiatedDhGroup()
The negotiated Diffie-Hellman group.String
getNegotiatedEncryptionAlgorithm()
The negotiated encryption algorithm.Long
getRemainingLifetime()
The remaining lifetime before the key is refreshed.Date
getRemainingLifetimeLastRetrieved()
The date and time we retrieved the remaining lifetime, in the format defined by RFC3339.int
hashCode()
TunnelPhaseOneDetails.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
TunnelPhaseOneDetails
@Deprecated @ConstructorProperties({"isCustomPhaseOneConfig","lifetime","remainingLifetime","customAuthenticationAlgorithm","negotiatedAuthenticationAlgorithm","customEncryptionAlgorithm","negotiatedEncryptionAlgorithm","customDhGroup","negotiatedDhGroup","isIkeEstablished","remainingLifetimeLastRetrieved"}) public TunnelPhaseOneDetails(Boolean isCustomPhaseOneConfig, Long lifetime, Long remainingLifetime, String customAuthenticationAlgorithm, String negotiatedAuthenticationAlgorithm, String customEncryptionAlgorithm, String negotiatedEncryptionAlgorithm, String customDhGroup, String negotiatedDhGroup, Boolean isIkeEstablished, Date remainingLifetimeLastRetrieved)
Deprecated.
-
-
Method Detail
-
builder
public static TunnelPhaseOneDetails.Builder builder()
Create a new builder.
-
toBuilder
public TunnelPhaseOneDetails.Builder toBuilder()
-
getIsCustomPhaseOneConfig
public Boolean getIsCustomPhaseOneConfig()
Indicates whether custom phase one configuration is enabled.If this option is not enabled, default settings are proposed.
- Returns:
- the value
-
getLifetime
public Long getLifetime()
The total configured lifetime of the IKE security association.- Returns:
- the value
-
getRemainingLifetime
public Long getRemainingLifetime()
The remaining lifetime before the key is refreshed.- Returns:
- the value
-
getCustomAuthenticationAlgorithm
public String getCustomAuthenticationAlgorithm()
The proposed custom authentication algorithm.- Returns:
- the value
-
getNegotiatedAuthenticationAlgorithm
public String getNegotiatedAuthenticationAlgorithm()
The negotiated authentication algorithm.- Returns:
- the value
-
getCustomEncryptionAlgorithm
public String getCustomEncryptionAlgorithm()
The proposed custom encryption algorithm.- Returns:
- the value
-
getNegotiatedEncryptionAlgorithm
public String getNegotiatedEncryptionAlgorithm()
The negotiated encryption algorithm.- Returns:
- the value
-
getCustomDhGroup
public String getCustomDhGroup()
The proposed custom Diffie-Hellman group.- Returns:
- the value
-
getNegotiatedDhGroup
public String getNegotiatedDhGroup()
The negotiated Diffie-Hellman group.- Returns:
- the value
-
getIsIkeEstablished
public Boolean getIsIkeEstablished()
Indicates whether IKE phase one is established.- Returns:
- the value
-
getRemainingLifetimeLastRetrieved
public Date getRemainingLifetimeLastRetrieved()
The date and time we retrieved the remaining lifetime, in the format defined by RFC3339.Example: 2016-08-25T21:10:29.600Z
- 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
-
-