Package com.pulumi.gcp.compute
Class TargetSSLProxyArgs.Builder
- java.lang.Object
-
- com.pulumi.gcp.compute.TargetSSLProxyArgs.Builder
-
- Enclosing class:
- TargetSSLProxyArgs
public static final class TargetSSLProxyArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(TargetSSLProxyArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TargetSSLProxyArgs.Builder
backendService(com.pulumi.core.Output<java.lang.String> backendService)
TargetSSLProxyArgs.Builder
backendService(java.lang.String backendService)
TargetSSLProxyArgs
build()
TargetSSLProxyArgs.Builder
certificateMap(com.pulumi.core.Output<java.lang.String> certificateMap)
TargetSSLProxyArgs.Builder
certificateMap(java.lang.String certificateMap)
TargetSSLProxyArgs.Builder
description(com.pulumi.core.Output<java.lang.String> description)
TargetSSLProxyArgs.Builder
description(java.lang.String description)
TargetSSLProxyArgs.Builder
name(com.pulumi.core.Output<java.lang.String> name)
TargetSSLProxyArgs.Builder
name(java.lang.String name)
TargetSSLProxyArgs.Builder
project(com.pulumi.core.Output<java.lang.String> project)
TargetSSLProxyArgs.Builder
project(java.lang.String project)
TargetSSLProxyArgs.Builder
proxyHeader(com.pulumi.core.Output<java.lang.String> proxyHeader)
TargetSSLProxyArgs.Builder
proxyHeader(java.lang.String proxyHeader)
TargetSSLProxyArgs.Builder
sslCertificates(com.pulumi.core.Output<java.util.List<java.lang.String>> sslCertificates)
TargetSSLProxyArgs.Builder
sslCertificates(java.lang.String... sslCertificates)
TargetSSLProxyArgs.Builder
sslCertificates(java.util.List<java.lang.String> sslCertificates)
TargetSSLProxyArgs.Builder
sslPolicy(com.pulumi.core.Output<java.lang.String> sslPolicy)
TargetSSLProxyArgs.Builder
sslPolicy(java.lang.String sslPolicy)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(TargetSSLProxyArgs defaults)
-
-
Method Detail
-
backendService
public TargetSSLProxyArgs.Builder backendService(com.pulumi.core.Output<java.lang.String> backendService)
- Parameters:
backendService
- A reference to the BackendService resource. ***- Returns:
- builder
-
backendService
public TargetSSLProxyArgs.Builder backendService(java.lang.String backendService)
- Parameters:
backendService
- A reference to the BackendService resource. ***- Returns:
- builder
-
certificateMap
public TargetSSLProxyArgs.Builder certificateMap(@Nullable com.pulumi.core.Output<java.lang.String> certificateMap)
- Parameters:
certificateMap
- A reference to the CertificateMap resource uri that identifies a certificate map associated with the given target proxy. This field can only be set for global target proxies. Accepted format is `//certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificateMaps/{resourceName}`.- Returns:
- builder
-
certificateMap
public TargetSSLProxyArgs.Builder certificateMap(java.lang.String certificateMap)
- Parameters:
certificateMap
- A reference to the CertificateMap resource uri that identifies a certificate map associated with the given target proxy. This field can only be set for global target proxies. Accepted format is `//certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificateMaps/{resourceName}`.- Returns:
- builder
-
description
public TargetSSLProxyArgs.Builder description(@Nullable com.pulumi.core.Output<java.lang.String> description)
- Parameters:
description
- An optional description of this resource.- Returns:
- builder
-
description
public TargetSSLProxyArgs.Builder description(java.lang.String description)
- Parameters:
description
- An optional description of this resource.- Returns:
- builder
-
name
public TargetSSLProxyArgs.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name
- Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `a-z?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.- Returns:
- builder
-
name
public TargetSSLProxyArgs.Builder name(java.lang.String name)
- Parameters:
name
- Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `a-z?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.- Returns:
- builder
-
project
public TargetSSLProxyArgs.Builder project(@Nullable com.pulumi.core.Output<java.lang.String> project)
- Parameters:
project
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.- Returns:
- builder
-
project
public TargetSSLProxyArgs.Builder project(java.lang.String project)
- Parameters:
project
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.- Returns:
- builder
-
proxyHeader
public TargetSSLProxyArgs.Builder proxyHeader(@Nullable com.pulumi.core.Output<java.lang.String> proxyHeader)
- Parameters:
proxyHeader
- Specifies the type of proxy header to append before sending data to the backend. Default value is `NONE`. Possible values are: `NONE`, `PROXY_V1`.- Returns:
- builder
-
proxyHeader
public TargetSSLProxyArgs.Builder proxyHeader(java.lang.String proxyHeader)
- Parameters:
proxyHeader
- Specifies the type of proxy header to append before sending data to the backend. Default value is `NONE`. Possible values are: `NONE`, `PROXY_V1`.- Returns:
- builder
-
sslCertificates
public TargetSSLProxyArgs.Builder sslCertificates(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> sslCertificates)
- Parameters:
sslCertificates
- A list of SslCertificate resources that are used to authenticate connections between users and the load balancer. At least one SSL certificate must be specified.- Returns:
- builder
-
sslCertificates
public TargetSSLProxyArgs.Builder sslCertificates(java.util.List<java.lang.String> sslCertificates)
- Parameters:
sslCertificates
- A list of SslCertificate resources that are used to authenticate connections between users and the load balancer. At least one SSL certificate must be specified.- Returns:
- builder
-
sslCertificates
public TargetSSLProxyArgs.Builder sslCertificates(java.lang.String... sslCertificates)
- Parameters:
sslCertificates
- A list of SslCertificate resources that are used to authenticate connections between users and the load balancer. At least one SSL certificate must be specified.- Returns:
- builder
-
sslPolicy
public TargetSSLProxyArgs.Builder sslPolicy(@Nullable com.pulumi.core.Output<java.lang.String> sslPolicy)
- Parameters:
sslPolicy
- A reference to the SslPolicy resource that will be associated with the TargetSslProxy resource. If not set, the TargetSslProxy resource will not have any SSL policy configured.- Returns:
- builder
-
sslPolicy
public TargetSSLProxyArgs.Builder sslPolicy(java.lang.String sslPolicy)
- Parameters:
sslPolicy
- A reference to the SslPolicy resource that will be associated with the TargetSslProxy resource. If not set, the TargetSslProxy resource will not have any SSL policy configured.- Returns:
- builder
-
build
public TargetSSLProxyArgs build()
-
-