Class IpSecPolicyState.Builder

  • Enclosing class:
    IpSecPolicyState

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

      • Builder

        public Builder()
    • Method Detail

      • authAlgorithm

        public IpSecPolicyState.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 IpSecPolicyState.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 IpSecPolicyState.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 IpSecPolicyState.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 IpSecPolicyState.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 IpSecPolicyState.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 IpSecPolicyState.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 IpSecPolicyState.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 IpSecPolicyState.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 IpSecPolicyState.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 IpSecPolicyState.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 IpSecPolicyState.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 IpSecPolicyState.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 IpSecPolicyState.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 IpSecPolicyState.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 IpSecPolicyState.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 IpSecPolicyState.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 IpSecPolicyState.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 IpSecPolicyState.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 IpSecPolicyState.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 IpSecPolicyState.Builder valueSpecs​(java.util.Map<java.lang.String,​java.lang.Object> valueSpecs)
        Parameters:
        valueSpecs - Map of additional options.
        Returns:
        builder