@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 the TunnelPhaseOneDetails.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 TunnelPhaseOneDetails.Builder
, which maintain a
set of all explicitly set fields called TunnelPhaseOneDetails.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 |
TunnelPhaseOneDetails.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and 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.
|
Modifier and Type | Method and 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.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"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)
public static TunnelPhaseOneDetails.Builder builder()
Create a new builder.
public TunnelPhaseOneDetails.Builder toBuilder()
public Boolean getIsCustomPhaseOneConfig()
Indicates whether custom phase one configuration is enabled. If this option is not enabled, default settings are proposed.
public Long getLifetime()
The total configured lifetime of the IKE security association.
public Long getRemainingLifetime()
The remaining lifetime before the key is refreshed.
public String getCustomAuthenticationAlgorithm()
The proposed custom authentication algorithm.
public String getNegotiatedAuthenticationAlgorithm()
The negotiated authentication algorithm.
public String getCustomEncryptionAlgorithm()
The proposed custom encryption algorithm.
public String getNegotiatedEncryptionAlgorithm()
The negotiated encryption algorithm.
public String getCustomDhGroup()
The proposed custom Diffie-Hellman group.
public String getNegotiatedDhGroup()
The negotiated Diffie-Hellman group.
public Boolean getIsIkeEstablished()
Indicates whether IKE phase one is established.
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
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.