Package com.pulumi.cloudflare.inputs
Class GetLoadBalancerPoolsPoolOriginArgs.Builder
- java.lang.Object
-
- com.pulumi.cloudflare.inputs.GetLoadBalancerPoolsPoolOriginArgs.Builder
-
- Enclosing class:
- GetLoadBalancerPoolsPoolOriginArgs
public static final class GetLoadBalancerPoolsPoolOriginArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(GetLoadBalancerPoolsPoolOriginArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(GetLoadBalancerPoolsPoolOriginArgs defaults)
-
-
Method Detail
-
address
public GetLoadBalancerPoolsPoolOriginArgs.Builder address(com.pulumi.core.Output<java.lang.String> address)
- Parameters:
address
- The IP address (IPv4 or IPv6) of the origin, or the publicly addressable hostname.- Returns:
- builder
-
address
public GetLoadBalancerPoolsPoolOriginArgs.Builder address(java.lang.String address)
- Parameters:
address
- The IP address (IPv4 or IPv6) of the origin, or the publicly addressable hostname.- Returns:
- builder
-
enabled
public GetLoadBalancerPoolsPoolOriginArgs.Builder enabled(@Nullable com.pulumi.core.Output<java.lang.Boolean> enabled)
- Parameters:
enabled
- Whether this origin is enabled. Disabled origins will not receive traffic and are excluded from health checks.- Returns:
- builder
-
enabled
public GetLoadBalancerPoolsPoolOriginArgs.Builder enabled(java.lang.Boolean enabled)
- Parameters:
enabled
- Whether this origin is enabled. Disabled origins will not receive traffic and are excluded from health checks.- Returns:
- builder
-
headers
public GetLoadBalancerPoolsPoolOriginArgs.Builder headers(@Nullable com.pulumi.core.Output<java.util.List<GetLoadBalancerPoolsPoolOriginHeaderArgs>> headers)
- Parameters:
headers
- HTTP request headers.- Returns:
- builder
-
headers
public GetLoadBalancerPoolsPoolOriginArgs.Builder headers(java.util.List<GetLoadBalancerPoolsPoolOriginHeaderArgs> headers)
- Parameters:
headers
- HTTP request headers.- Returns:
- builder
-
headers
public GetLoadBalancerPoolsPoolOriginArgs.Builder headers(GetLoadBalancerPoolsPoolOriginHeaderArgs... headers)
- Parameters:
headers
- HTTP request headers.- Returns:
- builder
-
name
public GetLoadBalancerPoolsPoolOriginArgs.Builder name(com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name
- A human-identifiable name for the origin.- Returns:
- builder
-
name
public GetLoadBalancerPoolsPoolOriginArgs.Builder name(java.lang.String name)
- Parameters:
name
- A human-identifiable name for the origin.- Returns:
- builder
-
virtualNetworkId
public GetLoadBalancerPoolsPoolOriginArgs.Builder virtualNetworkId(@Nullable com.pulumi.core.Output<java.lang.String> virtualNetworkId)
- Parameters:
virtualNetworkId
- The virtual network subnet ID the origin belongs in. Virtual network must also belong to the account.- Returns:
- builder
-
virtualNetworkId
public GetLoadBalancerPoolsPoolOriginArgs.Builder virtualNetworkId(java.lang.String virtualNetworkId)
- Parameters:
virtualNetworkId
- The virtual network subnet ID the origin belongs in. Virtual network must also belong to the account.- Returns:
- builder
-
weight
public GetLoadBalancerPoolsPoolOriginArgs.Builder weight(@Nullable com.pulumi.core.Output<java.lang.Double> weight)
- Parameters:
weight
- The weight (0.01 - 1.00) of this origin, relative to other origins in the pool. Equal values mean equal weighting. A weight of 0 means traffic will not be sent to this origin, but health is still checked. When `origin_steering.policy="least_outstanding_requests"`, weight is used to scale the origin's outstanding requests. When `origin_steering.policy="least_connections"`, weight is used to scale the origin's open connections.- Returns:
- builder
-
weight
public GetLoadBalancerPoolsPoolOriginArgs.Builder weight(java.lang.Double weight)
- Parameters:
weight
- The weight (0.01 - 1.00) of this origin, relative to other origins in the pool. Equal values mean equal weighting. A weight of 0 means traffic will not be sent to this origin, but health is still checked. When `origin_steering.policy="least_outstanding_requests"`, weight is used to scale the origin's outstanding requests. When `origin_steering.policy="least_connections"`, weight is used to scale the origin's open connections.- Returns:
- builder
-
build
public GetLoadBalancerPoolsPoolOriginArgs build()
-
-