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.GenericModel
IKEPolicy.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
IKEPolicy.AuthenticationAlgorithm
The authentication algorithm.static interface
IKEPolicy.EncryptionAlgorithm
The encryption algorithm.static interface
IKEPolicy.NegotiationMode
The IKE negotiation mode.static interface
IKEPolicy.ResourceType
The resource type.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAuthenticationAlgorithm()
Gets the authenticationAlgorithm.List<VPNGatewayConnectionReference>
getConnections()
Gets the connections.Date
getCreatedAt()
Gets the createdAt.Long
getDhGroup()
Gets the dhGroup.String
getEncryptionAlgorithm()
Gets the encryptionAlgorithm.String
getHref()
Gets the href.String
getId()
Gets the id.Long
getIkeVersion()
Gets the ikeVersion.Long
getKeyLifetime()
Gets the keyLifetime.String
getName()
Gets the name.String
getNegotiationMode()
Gets the negotiationMode.ResourceGroupReference
getResourceGroup()
Gets the resourceGroup.String
getResourceType()
Gets the resourceType.
-
-
-
Method Detail
-
getAuthenticationAlgorithm
public String getAuthenticationAlgorithm()
Gets the authenticationAlgorithm. The authentication algorithm. The `md5` and `sha1` algorithms have been deprecated. The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.- 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. The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.- Returns:
- the encryptionAlgorithm
-
getHref
public String getHref()
Gets the href. The URL for this IKE policy.- 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. The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.- 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
-
-