Class IpSecPolicyArgs.Builder

  • Enclosing class:
    IpSecPolicyArgs

    public static final class IpSecPolicyArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • authAlgorithm

        public IpSecPolicyArgs.Builder authAlgorithm​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> authAlgorithm)
        Parameters:
        authAlgorithm - The authentication hash algorithm. Valid values are sha1, sha256, sha384, sha512. Default is sha1. Changing this updates the algorithm of the existing policy.
        Returns:
        builder
      • authAlgorithm

        public IpSecPolicyArgs.Builder authAlgorithm​(java.lang.String authAlgorithm)
        Parameters:
        authAlgorithm - The authentication hash algorithm. Valid values are sha1, sha256, sha384, sha512. Default is sha1. Changing this updates the algorithm of the existing policy.
        Returns:
        builder
      • description

        public IpSecPolicyArgs.Builder description​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - The human-readable description for the policy. Changing this updates the description of the existing policy.
        Returns:
        builder
      • description

        public IpSecPolicyArgs.Builder description​(java.lang.String description)
        Parameters:
        description - The human-readable description for the policy. Changing this updates the description of the existing policy.
        Returns:
        builder
      • encapsulationMode

        public IpSecPolicyArgs.Builder encapsulationMode​(@Nullable
                                                         com.pulumi.core.Output<java.lang.String> encapsulationMode)
        Parameters:
        encapsulationMode - The encapsulation mode. Valid values are tunnel and transport. Default is tunnel. Changing this updates the existing policy.
        Returns:
        builder
      • encapsulationMode

        public IpSecPolicyArgs.Builder encapsulationMode​(java.lang.String encapsulationMode)
        Parameters:
        encapsulationMode - The encapsulation mode. Valid values are tunnel and transport. Default is tunnel. Changing this updates the existing policy.
        Returns:
        builder
      • encryptionAlgorithm

        public IpSecPolicyArgs.Builder encryptionAlgorithm​(@Nullable
                                                           com.pulumi.core.Output<java.lang.String> encryptionAlgorithm)
        Parameters:
        encryptionAlgorithm - The encryption algorithm. Valid values are 3des, aes-128, aes-192 and so on. The default value is aes-128. Changing this updates the existing policy.
        Returns:
        builder
      • encryptionAlgorithm

        public IpSecPolicyArgs.Builder encryptionAlgorithm​(java.lang.String encryptionAlgorithm)
        Parameters:
        encryptionAlgorithm - The encryption algorithm. Valid values are 3des, aes-128, aes-192 and so on. The default value is aes-128. Changing this updates the existing policy.
        Returns:
        builder
      • lifetimes

        public IpSecPolicyArgs.Builder lifetimes​(@Nullable
                                                 com.pulumi.core.Output<java.util.List<IpSecPolicyLifetimeArgs>> lifetimes)
        Parameters:
        lifetimes - The lifetime of the security association. Consists of Unit and Value.
        Returns:
        builder
      • name

        public IpSecPolicyArgs.Builder name​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - The name of the policy. Changing this updates the name of the existing policy.
        Returns:
        builder
      • name

        public IpSecPolicyArgs.Builder name​(java.lang.String name)
        Parameters:
        name - The name of the policy. Changing this updates the name of the existing policy.
        Returns:
        builder
      • pfs

        public IpSecPolicyArgs.Builder pfs​(@Nullable
                                           com.pulumi.core.Output<java.lang.String> pfs)
        Parameters:
        pfs - The perfect forward secrecy mode. Valid values are group2, group5 and group14. Default is group5. Changing this updates the existing policy.
        Returns:
        builder
      • pfs

        public IpSecPolicyArgs.Builder pfs​(java.lang.String pfs)
        Parameters:
        pfs - The perfect forward secrecy mode. Valid values are group2, group5 and group14. Default is group5. Changing this updates the existing policy.
        Returns:
        builder
      • region

        public IpSecPolicyArgs.Builder region​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - The region in which to obtain the V2 Networking client. A Networking client is needed to create an IPSec policy. If omitted, the `region` argument of the provider is used. Changing this creates a new policy.
        Returns:
        builder
      • region

        public IpSecPolicyArgs.Builder region​(java.lang.String region)
        Parameters:
        region - The region in which to obtain the V2 Networking client. A Networking client is needed to create an IPSec policy. If omitted, the `region` argument of the provider is used. Changing this creates a new policy.
        Returns:
        builder
      • tenantId

        public IpSecPolicyArgs.Builder tenantId​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> tenantId)
        Parameters:
        tenantId - The owner of the policy. Required if admin wants to create a policy for another project. Changing this creates a new policy.
        Returns:
        builder
      • tenantId

        public IpSecPolicyArgs.Builder tenantId​(java.lang.String tenantId)
        Parameters:
        tenantId - The owner of the policy. Required if admin wants to create a policy for another project. Changing this creates a new policy.
        Returns:
        builder
      • transformProtocol

        public IpSecPolicyArgs.Builder transformProtocol​(@Nullable
                                                         com.pulumi.core.Output<java.lang.String> transformProtocol)
        Parameters:
        transformProtocol - The transform protocol. Valid values are esp, ah and ah-esp. Changing this updates the existing policy. Default is ESP.
        Returns:
        builder
      • transformProtocol

        public IpSecPolicyArgs.Builder transformProtocol​(java.lang.String transformProtocol)
        Parameters:
        transformProtocol - The transform protocol. Valid values are esp, ah and ah-esp. Changing this updates the existing policy. Default is ESP.
        Returns:
        builder
      • valueSpecs

        public IpSecPolicyArgs.Builder valueSpecs​(@Nullable
                                                  com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.Object>> valueSpecs)
        Parameters:
        valueSpecs - Map of additional options.
        Returns:
        builder
      • valueSpecs

        public IpSecPolicyArgs.Builder valueSpecs​(java.util.Map<java.lang.String,​java.lang.Object> valueSpecs)
        Parameters:
        valueSpecs - Map of additional options.
        Returns:
        builder