public static final class IPSecVPNTunnelProfile.Builder
extends java.lang.Object
IPSecVPNTunnelProfile
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
IPSecVPNTunnelProfile . |
Modifier and Type | Method and Description |
---|---|
IPSecVPNTunnelProfile |
build() |
IPSecVPNTunnelProfile.Builder |
setCreateTime(java.lang.Long createTime)
Timestamp of resource creation format: int64
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
IPSecVPNTunnelProfile.Builder |
setCreateUser(java.lang.String createUser)
ID of the user who created this resource
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
IPSecVPNTunnelProfile.Builder |
setDescription(java.lang.String description)
Description of this resource
|
IPSecVPNTunnelProfile.Builder |
setDfPolicy(java.lang.String dfPolicy)
Possible values are:
IPSecVPNTunnelProfile.DF_POLICY_COPY IPSecVPNTunnelProfile.DF_POLICY_CLEAR
Defragmentation policy helps to handle defragmentation bit present in the inner
packet. |
IPSecVPNTunnelProfile.Builder |
setDhGroups(java.util.List<java.lang.String> dhGroups)
Possible values are:
IPSecVPNTunnelProfile.DH_GROUPS_GROUP2 IPSecVPNTunnelProfile.DH_GROUPS_GROUP5 IPSecVPNTunnelProfile.DH_GROUPS_GROUP14 IPSecVPNTunnelProfile.DH_GROUPS_GROUP15 IPSecVPNTunnelProfile.DH_GROUPS_GROUP16 IPSecVPNTunnelProfile.DH_GROUPS_GROUP19 IPSecVPNTunnelProfile.DH_GROUPS_GROUP20 IPSecVPNTunnelProfile.DH_GROUPS_GROUP21
Diffie-Hellman group to be used if PFS is enabled. |
IPSecVPNTunnelProfile.Builder |
setDigestAlgorithms(java.util.List<java.lang.String> digestAlgorithms)
Possible values are:
IPSecVPNTunnelProfile.DIGEST_ALGORITHMS_SHA1
IPSecVPNTunnelProfile.DIGEST_ALGORITHMS_SHA2_256
IPSecVPNTunnelProfile.DIGEST_ALGORITHMS_SHA2_384
IPSecVPNTunnelProfile.DIGEST_ALGORITHMS_SHA2_512
Algorithm to be used for message digest. |
IPSecVPNTunnelProfile.Builder |
setDisplayName(java.lang.String displayName)
Defaults to ID if not set
|
IPSecVPNTunnelProfile.Builder |
setEnablePerfectForwardSecrecy(java.lang.Boolean enablePerfectForwardSecrecy)
If true, perfect forward secrecy (PFS) is enabled.
|
IPSecVPNTunnelProfile.Builder |
setEncapsulationMode(java.lang.String encapsulationMode)
Possible values are:
IPSecVPNTunnelProfile.ENCAPSULATION_MODE_MODE
Encapsulation Mode to be used for encryption of packet. |
IPSecVPNTunnelProfile.Builder |
setEncryptionAlgorithms(java.util.List<java.lang.String> encryptionAlgorithms)
Possible values are:
IPSecVPNTunnelProfile.ENCRYPTION_ALGORITHMS_AES_128
IPSecVPNTunnelProfile.ENCRYPTION_ALGORITHMS_AES_256
IPSecVPNTunnelProfile.ENCRYPTION_ALGORITHMS_AES_GCM_128
IPSecVPNTunnelProfile.ENCRYPTION_ALGORITHMS_AES_GCM_192
IPSecVPNTunnelProfile.ENCRYPTION_ALGORITHMS_AES_GCM_256
IPSecVPNTunnelProfile.ENCRYPTION_ALGORITHMS_NO_ENCRYPTION_AUTH_AES_GMAC_128
IPSecVPNTunnelProfile.ENCRYPTION_ALGORITHMS_NO_ENCRYPTION_AUTH_AES_GMAC_192
IPSecVPNTunnelProfile.ENCRYPTION_ALGORITHMS_NO_ENCRYPTION_AUTH_AES_GMAC_256
IPSecVPNTunnelProfile.ENCRYPTION_ALGORITHMS_NO_ENCRYPTION
Encryption algorithm to encrypt/decrypt the messages exchanged between
IPSec VPN initiator and responder during tunnel negotiation. |
IPSecVPNTunnelProfile.Builder |
setId(java.lang.String id)
Unique identifier of this resource
|
IPSecVPNTunnelProfile.Builder |
setLastModifiedTime(java.lang.Long lastModifiedTime)
Timestamp of last modification format: int64
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
IPSecVPNTunnelProfile.Builder |
setLastModifiedUser(java.lang.String lastModifiedUser)
ID of the user who last modified this resource
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
IPSecVPNTunnelProfile.Builder |
setLinks(java.util.List<ResourceLink> links)
The server will populate this field when returing the resource.
|
IPSecVPNTunnelProfile.Builder |
setProtection(java.lang.String protection)
Protection status is one of the following: PROTECTED - the client who retrieved
the entity is not allowed to modify it.
|
IPSecVPNTunnelProfile.Builder |
setResourceType(java.lang.String resourceType)
The type of this resource.
|
IPSecVPNTunnelProfile.Builder |
setRevision(java.lang.Long revision)
The _revision property describes the current revision of the resource.
|
IPSecVPNTunnelProfile.Builder |
setSaLifeTime(java.lang.Long saLifeTime)
SA life time specifies the expiry time of security association.
|
IPSecVPNTunnelProfile.Builder |
setSchema(java.lang.String schema)
Schema for this resource
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
IPSecVPNTunnelProfile.Builder |
setSelf(SelfResourceLink self) |
IPSecVPNTunnelProfile.Builder |
setSystemOwned(java.lang.Boolean systemOwned)
Indicates system owned resource
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
IPSecVPNTunnelProfile.Builder |
setTags(java.util.List<Tag> tags)
Opaque identifiers meaningful to the API user
|
IPSecVPNTunnelProfile.Builder |
setTransformProtocol(java.lang.String transformProtocol)
Possible values are:
IPSecVPNTunnelProfile.TRANSFORM_PROTOCOL_ESP
IPSec transform specifies IPSec security protocol. |
public Builder()
IPSecVPNTunnelProfile
.public IPSecVPNTunnelProfile.Builder setLinks(java.util.List<ResourceLink> links)
links
- New value for the property.public IPSecVPNTunnelProfile.Builder setSchema(java.lang.String schema)
schema
- New value for the property.public IPSecVPNTunnelProfile.Builder setSelf(SelfResourceLink self)
self
- New value for the property.public IPSecVPNTunnelProfile.Builder setRevision(java.lang.Long revision)
revision
- New value for the property.public IPSecVPNTunnelProfile.Builder setCreateTime(java.lang.Long createTime)
createTime
- New value for the property.public IPSecVPNTunnelProfile.Builder setCreateUser(java.lang.String createUser)
createUser
- New value for the property.public IPSecVPNTunnelProfile.Builder setLastModifiedTime(java.lang.Long lastModifiedTime)
lastModifiedTime
- New value for the property.public IPSecVPNTunnelProfile.Builder setLastModifiedUser(java.lang.String lastModifiedUser)
lastModifiedUser
- New value for the property.public IPSecVPNTunnelProfile.Builder setProtection(java.lang.String protection)
protection
- New value for the property.public IPSecVPNTunnelProfile.Builder setSystemOwned(java.lang.Boolean systemOwned)
systemOwned
- New value for the property.public IPSecVPNTunnelProfile.Builder setDescription(java.lang.String description)
description
- New value for the property.public IPSecVPNTunnelProfile.Builder setDisplayName(java.lang.String displayName)
displayName
- New value for the property.public IPSecVPNTunnelProfile.Builder setId(java.lang.String id)
id
- New value for the property.public IPSecVPNTunnelProfile.Builder setResourceType(java.lang.String resourceType)
resourceType
- New value for the property.public IPSecVPNTunnelProfile.Builder setTags(java.util.List<Tag> tags)
tags
- New value for the property.public IPSecVPNTunnelProfile.Builder setDfPolicy(java.lang.String dfPolicy)
dfPolicy
- New value for the property.public IPSecVPNTunnelProfile.Builder setDhGroups(java.util.List<java.lang.String> dhGroups)
IPSecVPNTunnelProfile.DH_GROUPS_GROUP2
IPSecVPNTunnelProfile.DH_GROUPS_GROUP5
IPSecVPNTunnelProfile.DH_GROUPS_GROUP14
IPSecVPNTunnelProfile.DH_GROUPS_GROUP15
IPSecVPNTunnelProfile.DH_GROUPS_GROUP16
IPSecVPNTunnelProfile.DH_GROUPS_GROUP19
IPSecVPNTunnelProfile.DH_GROUPS_GROUP20
IPSecVPNTunnelProfile.DH_GROUPS_GROUP21
dhGroups
- New value for the property.public IPSecVPNTunnelProfile.Builder setDigestAlgorithms(java.util.List<java.lang.String> digestAlgorithms)
digestAlgorithms
- New value for the property.public IPSecVPNTunnelProfile.Builder setEnablePerfectForwardSecrecy(java.lang.Boolean enablePerfectForwardSecrecy)
enablePerfectForwardSecrecy
- New value for the property.public IPSecVPNTunnelProfile.Builder setEncapsulationMode(java.lang.String encapsulationMode)
encapsulationMode
- New value for the property.public IPSecVPNTunnelProfile.Builder setEncryptionAlgorithms(java.util.List<java.lang.String> encryptionAlgorithms)
IPSecVPNTunnelProfile.ENCRYPTION_ALGORITHMS_AES_128
IPSecVPNTunnelProfile.ENCRYPTION_ALGORITHMS_AES_256
IPSecVPNTunnelProfile.ENCRYPTION_ALGORITHMS_AES_GCM_128
IPSecVPNTunnelProfile.ENCRYPTION_ALGORITHMS_AES_GCM_192
IPSecVPNTunnelProfile.ENCRYPTION_ALGORITHMS_AES_GCM_256
IPSecVPNTunnelProfile.ENCRYPTION_ALGORITHMS_NO_ENCRYPTION_AUTH_AES_GMAC_128
IPSecVPNTunnelProfile.ENCRYPTION_ALGORITHMS_NO_ENCRYPTION_AUTH_AES_GMAC_192
IPSecVPNTunnelProfile.ENCRYPTION_ALGORITHMS_NO_ENCRYPTION_AUTH_AES_GMAC_256
IPSecVPNTunnelProfile.ENCRYPTION_ALGORITHMS_NO_ENCRYPTION
encryptionAlgorithms
- New value for the property.public IPSecVPNTunnelProfile.Builder setSaLifeTime(java.lang.Long saLifeTime)
saLifeTime
- New value for the property.public IPSecVPNTunnelProfile.Builder setTransformProtocol(java.lang.String transformProtocol)
transformProtocol
- New value for the property.public IPSecVPNTunnelProfile build()