Class TunnelPhaseTwoDetails
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.vnmonitoring.model.TunnelPhaseTwoDetails
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class TunnelPhaseTwoDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelIPsec tunnel detail information specific to phase two.
 Note: Objects should always be created or deserialized using theTunnelPhaseTwoDetails.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 theTunnelPhaseTwoDetails.Builder, which maintain a set of all explicitly set fields calledTunnelPhaseTwoDetails.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 SummaryNested Classes Modifier and Type Class Description static classTunnelPhaseTwoDetails.Builder
 - 
Constructor SummaryConstructors Constructor Description TunnelPhaseTwoDetails(Boolean isCustomPhaseTwoConfig, Long lifetime, Long remainingLifetime, String customAuthenticationAlgorithm, String negotiatedAuthenticationAlgorithm, String customEncryptionAlgorithm, String negotiatedEncryptionAlgorithm, String dhGroup, String negotiatedDhGroup, Boolean isEspEstablished, Boolean isPfsEnabled, Date remainingLifetimeLastRetrieved)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TunnelPhaseTwoDetails.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetCustomAuthenticationAlgorithm()Phase two authentication algorithm proposed during tunnel negotiation.StringgetCustomEncryptionAlgorithm()The proposed custom phase two encryption algorithm.StringgetDhGroup()The proposed Diffie-Hellman group.BooleangetIsCustomPhaseTwoConfig()Indicates whether custom phase two configuration is enabled.BooleangetIsEspEstablished()Indicates that ESP phase two is established.BooleangetIsPfsEnabled()Indicates that PFS (perfect forward secrecy) is enabled.LonggetLifetime()The total configured lifetime of the IKE security association.StringgetNegotiatedAuthenticationAlgorithm()The negotiated phase two authentication algorithm.StringgetNegotiatedDhGroup()The negotiated Diffie-Hellman group.StringgetNegotiatedEncryptionAlgorithm()The negotiated encryption algorithm.LonggetRemainingLifetime()The remaining lifetime before the key is refreshed.DategetRemainingLifetimeLastRetrieved()The date and time the remaining lifetime was last retrieved, in the format defined by RFC3339.inthashCode()TunnelPhaseTwoDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
TunnelPhaseTwoDetails@Deprecated @ConstructorProperties({"isCustomPhaseTwoConfig","lifetime","remainingLifetime","customAuthenticationAlgorithm","negotiatedAuthenticationAlgorithm","customEncryptionAlgorithm","negotiatedEncryptionAlgorithm","dhGroup","negotiatedDhGroup","isEspEstablished","isPfsEnabled","remainingLifetimeLastRetrieved"}) public TunnelPhaseTwoDetails(Boolean isCustomPhaseTwoConfig, Long lifetime, Long remainingLifetime, String customAuthenticationAlgorithm, String negotiatedAuthenticationAlgorithm, String customEncryptionAlgorithm, String negotiatedEncryptionAlgorithm, String dhGroup, String negotiatedDhGroup, Boolean isEspEstablished, Boolean isPfsEnabled, Date remainingLifetimeLastRetrieved) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static TunnelPhaseTwoDetails.Builder builder() Create a new builder.
 - 
toBuilderpublic TunnelPhaseTwoDetails.Builder toBuilder() 
 - 
getIsCustomPhaseTwoConfigpublic Boolean getIsCustomPhaseTwoConfig() Indicates whether custom phase two configuration is enabled.If this option is not enabled, default settings are proposed. - Returns:
- the value
 
 - 
getLifetimepublic Long getLifetime() The total configured lifetime of the IKE security association.- Returns:
- the value
 
 - 
getRemainingLifetimepublic Long getRemainingLifetime() The remaining lifetime before the key is refreshed.- Returns:
- the value
 
 - 
getCustomAuthenticationAlgorithmpublic String getCustomAuthenticationAlgorithm() Phase two authentication algorithm proposed during tunnel negotiation.- Returns:
- the value
 
 - 
getNegotiatedAuthenticationAlgorithmpublic String getNegotiatedAuthenticationAlgorithm() The negotiated phase two authentication algorithm.- Returns:
- the value
 
 - 
getCustomEncryptionAlgorithmpublic String getCustomEncryptionAlgorithm() The proposed custom phase two encryption algorithm.- Returns:
- the value
 
 - 
getNegotiatedEncryptionAlgorithmpublic String getNegotiatedEncryptionAlgorithm() The negotiated encryption algorithm.- Returns:
- the value
 
 - 
getDhGrouppublic String getDhGroup() The proposed Diffie-Hellman group.- Returns:
- the value
 
 - 
getNegotiatedDhGrouppublic String getNegotiatedDhGroup() The negotiated Diffie-Hellman group.- Returns:
- the value
 
 - 
getIsEspEstablishedpublic Boolean getIsEspEstablished() Indicates that ESP phase two is established.- Returns:
- the value
 
 - 
getIsPfsEnabledpublic Boolean getIsPfsEnabled() Indicates that PFS (perfect forward secrecy) is enabled.- Returns:
- the value
 
 - 
getRemainingLifetimeLastRetrievedpublic Date getRemainingLifetimeLastRetrieved() The date and time the remaining lifetime was last retrieved, in the format defined by RFC3339.Example: 2016-08-25T21:10:29.600Z - Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic 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
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-