Class IpSecPolicyState.Builder
- java.lang.Object
-
- com.pulumi.openstack.vpnaas.inputs.IpSecPolicyState.Builder
-
- Enclosing class:
- IpSecPolicyState
public static final class IpSecPolicyState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(IpSecPolicyState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IpSecPolicyState.BuilderauthAlgorithm(com.pulumi.core.Output<java.lang.String> authAlgorithm)IpSecPolicyState.BuilderauthAlgorithm(java.lang.String authAlgorithm)IpSecPolicyStatebuild()IpSecPolicyState.Builderdescription(com.pulumi.core.Output<java.lang.String> description)IpSecPolicyState.Builderdescription(java.lang.String description)IpSecPolicyState.BuilderencapsulationMode(com.pulumi.core.Output<java.lang.String> encapsulationMode)IpSecPolicyState.BuilderencapsulationMode(java.lang.String encapsulationMode)IpSecPolicyState.BuilderencryptionAlgorithm(com.pulumi.core.Output<java.lang.String> encryptionAlgorithm)IpSecPolicyState.BuilderencryptionAlgorithm(java.lang.String encryptionAlgorithm)IpSecPolicyState.Builderlifetimes(com.pulumi.core.Output<java.util.List<IpSecPolicyLifetimeArgs>> lifetimes)IpSecPolicyState.Builderlifetimes(IpSecPolicyLifetimeArgs... lifetimes)IpSecPolicyState.Builderlifetimes(java.util.List<IpSecPolicyLifetimeArgs> lifetimes)IpSecPolicyState.Buildername(com.pulumi.core.Output<java.lang.String> name)IpSecPolicyState.Buildername(java.lang.String name)IpSecPolicyState.Builderpfs(com.pulumi.core.Output<java.lang.String> pfs)IpSecPolicyState.Builderpfs(java.lang.String pfs)IpSecPolicyState.Builderregion(com.pulumi.core.Output<java.lang.String> region)IpSecPolicyState.Builderregion(java.lang.String region)IpSecPolicyState.BuildertenantId(com.pulumi.core.Output<java.lang.String> tenantId)IpSecPolicyState.BuildertenantId(java.lang.String tenantId)IpSecPolicyState.BuildertransformProtocol(com.pulumi.core.Output<java.lang.String> transformProtocol)IpSecPolicyState.BuildertransformProtocol(java.lang.String transformProtocol)IpSecPolicyState.BuildervalueSpecs(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.Object>> valueSpecs)IpSecPolicyState.BuildervalueSpecs(java.util.Map<java.lang.String,java.lang.Object> valueSpecs)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(IpSecPolicyState defaults)
-
-
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
-
lifetimes
public IpSecPolicyState.Builder lifetimes(java.util.List<IpSecPolicyLifetimeArgs> lifetimes)
- Parameters:
lifetimes- The lifetime of the security association. Consists of Unit and Value.- Returns:
- builder
-
lifetimes
public IpSecPolicyState.Builder lifetimes(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
-
build
public IpSecPolicyState build()
-
-