Package com.ibm.cloud.is.vpc.v1.model
Class IKEPolicy
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.is.vpc.v1.model.IKEPolicy
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class IKEPolicy extends com.ibm.cloud.sdk.core.service.model.GenericModelIKEPolicy.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceIKEPolicy.AuthenticationAlgorithmThe authentication algorithm The `md5` and `sha1` algorithms have been deprecated.static interfaceIKEPolicy.EncryptionAlgorithmThe encryption algorithm The `triple_des` algorithm has been deprecated.static interfaceIKEPolicy.NegotiationModeThe IKE negotiation mode.static interfaceIKEPolicy.ResourceTypeThe resource type.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAuthenticationAlgorithm()Gets the authenticationAlgorithm.List<VPNGatewayConnectionReference>getConnections()Gets the connections.DategetCreatedAt()Gets the createdAt.LonggetDhGroup()Gets the dhGroup.StringgetEncryptionAlgorithm()Gets the encryptionAlgorithm.StringgetHref()Gets the href.StringgetId()Gets the id.LonggetIkeVersion()Gets the ikeVersion.LonggetKeyLifetime()Gets the keyLifetime.StringgetName()Gets the name.StringgetNegotiationMode()Gets the negotiationMode.ResourceGroupReferencegetResourceGroup()Gets the resourceGroup.StringgetResourceType()Gets the resourceType.
-
-
-
Method Detail
-
getAuthenticationAlgorithm
public String getAuthenticationAlgorithm()
Gets the authenticationAlgorithm. The authentication algorithm The `md5` and `sha1` algorithms have been deprecated.- Returns:
- the authenticationAlgorithm
-
getConnections
public List<VPNGatewayConnectionReference> getConnections()
Gets the connections. The VPN gateway connections that use this IKE policy.- Returns:
- the connections
-
getCreatedAt
public Date getCreatedAt()
Gets the createdAt. The date and time that this IKE policy was created.- Returns:
- the createdAt
-
getDhGroup
public Long getDhGroup()
Gets the dhGroup. The Diffie-Hellman group Groups `2` and `5` have been deprecated.- Returns:
- the dhGroup
-
getEncryptionAlgorithm
public String getEncryptionAlgorithm()
Gets the encryptionAlgorithm. The encryption algorithm The `triple_des` algorithm has been deprecated.- Returns:
- the encryptionAlgorithm
-
getHref
public String getHref()
Gets the href. The IKE policy's canonical URL.- Returns:
- the href
-
getId
public String getId()
Gets the id. The unique identifier for this IKE policy.- Returns:
- the id
-
getIkeVersion
public Long getIkeVersion()
Gets the ikeVersion. The IKE protocol version.- Returns:
- the ikeVersion
-
getKeyLifetime
public Long getKeyLifetime()
Gets the keyLifetime. The key lifetime in seconds.- Returns:
- the keyLifetime
-
getName
public String getName()
Gets the name. The name for this IKE policy. The name is unique across all IKE policies in the region.- Returns:
- the name
-
getNegotiationMode
public String getNegotiationMode()
Gets the negotiationMode. The IKE negotiation mode. Only `main` is supported.- Returns:
- the negotiationMode
-
getResourceGroup
public ResourceGroupReference getResourceGroup()
Gets the resourceGroup. The resource group for this IKE policy.- Returns:
- the resourceGroup
-
getResourceType
public String getResourceType()
Gets the resourceType. The resource type.- Returns:
- the resourceType
-
-