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 Must be `disabled` if and only if the `encryption_algorithm` is `aes128gcm16`, `aes192gcm16`, or `aes256gcm16`.static interface
IPsecPolicy.EncapsulationMode
The encapsulation mode used.static interface
IPsecPolicy.EncryptionAlgorithm
The encryption algorithm The `triple_des` algorithm has been deprecated The `authentication_algorithm` must be `disabled` if and only if `encryption_algorithm` is `aes128gcm16`, `aes192gcm16`, or `aes256gcm16`.static interface
IPsecPolicy.Pfs
Perfect Forward Secrecy Groups `group_2` and `group_5` have been deprecated.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 Must be `disabled` if and only if the `encryption_algorithm` is `aes128gcm16`, `aes192gcm16`, or `aes256gcm16`.- 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. Only `tunnel` is supported.- Returns:
- the encapsulationMode
-
getEncryptionAlgorithm
public String getEncryptionAlgorithm()
Gets the encryptionAlgorithm. The encryption algorithm The `triple_des` algorithm has been deprecated The `authentication_algorithm` must be `disabled` if and only if `encryption_algorithm` is `aes128gcm16`, `aes192gcm16`, or `aes256gcm16`.- Returns:
- the encryptionAlgorithm
-
getHref
public String getHref()
Gets the href. The IPsec policy's canonical URL.- 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. Perfect Forward Secrecy Groups `group_2` and `group_5` have been deprecated.- 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. Only `esp` is supported.- Returns:
- the transformProtocol
-
-