Class IkePolicyState.Builder

  • Enclosing class:
    IkePolicyState

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

      • Builder

        public Builder()
    • Method Detail

      • authAlgorithm

        public IkePolicyState.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 IkePolicyState.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 IkePolicyState.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 IkePolicyState.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
      • encryptionAlgorithm

        public IkePolicyState.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 IkePolicyState.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
      • ikeVersion

        public IkePolicyState.Builder ikeVersion​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> ikeVersion)
        Parameters:
        ikeVersion - The IKE mode. A valid value is v1 or v2. Default is v1. Changing this updates the existing policy.
        Returns:
        builder
      • ikeVersion

        public IkePolicyState.Builder ikeVersion​(java.lang.String ikeVersion)
        Parameters:
        ikeVersion - The IKE mode. A valid value is v1 or v2. Default is v1. Changing this updates the existing policy.
        Returns:
        builder
      • lifetimes

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

        public IkePolicyState.Builder lifetimes​(java.util.List<IkePolicyLifetimeArgs> lifetimes)
        Parameters:
        lifetimes - The lifetime of the security association. Consists of Unit and Value.
        Returns:
        builder
      • name

        public IkePolicyState.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 IkePolicyState.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 IkePolicyState.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 IkePolicyState.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
      • phase1NegotiationMode

        public IkePolicyState.Builder phase1NegotiationMode​(@Nullable
                                                            com.pulumi.core.Output<java.lang.String> phase1NegotiationMode)
        Parameters:
        phase1NegotiationMode - The IKE mode. A valid value is main, which is the default. Changing this updates the existing policy.
        Returns:
        builder
      • phase1NegotiationMode

        public IkePolicyState.Builder phase1NegotiationMode​(java.lang.String phase1NegotiationMode)
        Parameters:
        phase1NegotiationMode - The IKE mode. A valid value is main, which is the default. Changing this updates the existing policy.
        Returns:
        builder
      • region

        public IkePolicyState.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 a VPN service. If omitted, the `region` argument of the provider is used. Changing this creates a new service.
        Returns:
        builder
      • region

        public IkePolicyState.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 a VPN service. If omitted, the `region` argument of the provider is used. Changing this creates a new service.
        Returns:
        builder
      • tenantId

        public IkePolicyState.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 service for another policy. Changing this creates a new policy.
        Returns:
        builder
      • tenantId

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

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