Package com.ibm.cloud.is.vpc.v1.model
Class IPsecPolicy
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.is.vpc.v1.model.IPsecPolicy
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class IPsecPolicy extends com.ibm.cloud.sdk.core.service.model.GenericModel
IPsecPolicy.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
IPsecPolicy.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.static interface
IPsecPolicy.EncapsulationMode
The encapsulation mode used.static interface
IPsecPolicy.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.static interface
IPsecPolicy.Pfs
The Perfect Forward Secrecy group Groups `group_2` and `group_5` have been deprecated The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.static interface
IPsecPolicy.ResourceType
The resource type.static interface
IPsecPolicy.TransformProtocol
The transform protocol used.
-
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.String
getEncapsulationMode()
Gets the encapsulationMode.String
getEncryptionAlgorithm()
Gets the encryptionAlgorithm.String
getHref()
Gets the href.String
getId()
Gets the id.Long
getKeyLifetime()
Gets the keyLifetime.String
getName()
Gets the name.String
getPfs()
Gets the pfs.ResourceGroupReference
getResourceGroup()
Gets the resourceGroup.String
getResourceType()
Gets the resourceType.String
getTransformProtocol()
Gets the transformProtocol.
-
-
-
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 IPsec policy.- Returns:
- the connections
-
getCreatedAt
public Date getCreatedAt()
Gets the createdAt. The date and time that this IPsec policy was created.- Returns:
- the createdAt
-
getEncapsulationMode
public String getEncapsulationMode()
Gets the encapsulationMode. The encapsulation mode used. The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.- Returns:
- the encapsulationMode
-
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 IPsec policy.- Returns:
- the href
-
getId
public String getId()
Gets the id. The unique identifier for this IPsec policy.- Returns:
- the id
-
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 IPsec policy. The name is unique across all IPsec policies in the region.- Returns:
- the name
-
getPfs
public String getPfs()
Gets the pfs. The Perfect Forward Secrecy group Groups `group_2` and `group_5` 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 pfs
-
getResourceGroup
public ResourceGroupReference getResourceGroup()
Gets the resourceGroup. The resource group for this IPsec policy.- Returns:
- the resourceGroup
-
getResourceType
public String getResourceType()
Gets the resourceType. The resource type.- Returns:
- the resourceType
-
getTransformProtocol
public String getTransformProtocol()
Gets the transformProtocol. The transform protocol used. The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.- Returns:
- the transformProtocol
-
-