Package com.pulumi.cloudflare
Class ZeroTrustTunnelCloudflaredArgs.Builder
- java.lang.Object
-
- com.pulumi.cloudflare.ZeroTrustTunnelCloudflaredArgs.Builder
-
- Enclosing class:
- ZeroTrustTunnelCloudflaredArgs
public static final class ZeroTrustTunnelCloudflaredArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(ZeroTrustTunnelCloudflaredArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ZeroTrustTunnelCloudflaredArgs.Builder
accountId(com.pulumi.core.Output<java.lang.String> accountId)
ZeroTrustTunnelCloudflaredArgs.Builder
accountId(java.lang.String accountId)
ZeroTrustTunnelCloudflaredArgs
build()
ZeroTrustTunnelCloudflaredArgs.Builder
configSrc(com.pulumi.core.Output<java.lang.String> configSrc)
ZeroTrustTunnelCloudflaredArgs.Builder
configSrc(java.lang.String configSrc)
ZeroTrustTunnelCloudflaredArgs.Builder
name(com.pulumi.core.Output<java.lang.String> name)
ZeroTrustTunnelCloudflaredArgs.Builder
name(java.lang.String name)
ZeroTrustTunnelCloudflaredArgs.Builder
secret(com.pulumi.core.Output<java.lang.String> secret)
ZeroTrustTunnelCloudflaredArgs.Builder
secret(java.lang.String secret)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ZeroTrustTunnelCloudflaredArgs defaults)
-
-
Method Detail
-
accountId
public ZeroTrustTunnelCloudflaredArgs.Builder accountId(com.pulumi.core.Output<java.lang.String> accountId)
- Parameters:
accountId
- The account identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**- Returns:
- builder
-
accountId
public ZeroTrustTunnelCloudflaredArgs.Builder accountId(java.lang.String accountId)
- Parameters:
accountId
- The account identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**- Returns:
- builder
-
configSrc
public ZeroTrustTunnelCloudflaredArgs.Builder configSrc(@Nullable com.pulumi.core.Output<java.lang.String> configSrc)
- Parameters:
configSrc
- Indicates if this is a locally or remotely configured tunnel. If `local`, manage the tunnel using a YAML file on the origin machine. If `cloudflare`, manage the tunnel on the Zero Trust dashboard or using tunnel*config, tunnel*route or tunnel*virtual*network resources. Available values: `local`, `cloudflare`. **Modifying this attribute will force creation of a new resource.**- Returns:
- builder
-
configSrc
public ZeroTrustTunnelCloudflaredArgs.Builder configSrc(java.lang.String configSrc)
- Parameters:
configSrc
- Indicates if this is a locally or remotely configured tunnel. If `local`, manage the tunnel using a YAML file on the origin machine. If `cloudflare`, manage the tunnel on the Zero Trust dashboard or using tunnel*config, tunnel*route or tunnel*virtual*network resources. Available values: `local`, `cloudflare`. **Modifying this attribute will force creation of a new resource.**- Returns:
- builder
-
name
public ZeroTrustTunnelCloudflaredArgs.Builder name(com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name
- A user-friendly name chosen when the tunnel is created. **Modifying this attribute will force creation of a new resource.**- Returns:
- builder
-
name
public ZeroTrustTunnelCloudflaredArgs.Builder name(java.lang.String name)
- Parameters:
name
- A user-friendly name chosen when the tunnel is created. **Modifying this attribute will force creation of a new resource.**- Returns:
- builder
-
secret
public ZeroTrustTunnelCloudflaredArgs.Builder secret(com.pulumi.core.Output<java.lang.String> secret)
- Parameters:
secret
- 32 or more bytes, encoded as a base64 string. The Create Argo Tunnel endpoint sets this as the tunnel's password. Anyone wishing to run the tunnel needs this password. **Modifying this attribute will force creation of a new resource.**- Returns:
- builder
-
secret
public ZeroTrustTunnelCloudflaredArgs.Builder secret(java.lang.String secret)
- Parameters:
secret
- 32 or more bytes, encoded as a base64 string. The Create Argo Tunnel endpoint sets this as the tunnel's password. Anyone wishing to run the tunnel needs this password. **Modifying this attribute will force creation of a new resource.**- Returns:
- builder
-
build
public ZeroTrustTunnelCloudflaredArgs build()
-
-