Class MonitorState.Builder
- java.lang.Object
-
- com.pulumi.openstack.loadbalancer.inputs.MonitorState.Builder
-
- Enclosing class:
- MonitorState
public static final class MonitorState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(MonitorState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MonitorState.BuilderadminStateUp(com.pulumi.core.Output<java.lang.Boolean> adminStateUp)MonitorState.BuilderadminStateUp(java.lang.Boolean adminStateUp)MonitorStatebuild()MonitorState.Builderdelay(com.pulumi.core.Output<java.lang.Integer> delay)MonitorState.Builderdelay(java.lang.Integer delay)MonitorState.BuilderexpectedCodes(com.pulumi.core.Output<java.lang.String> expectedCodes)MonitorState.BuilderexpectedCodes(java.lang.String expectedCodes)MonitorState.BuilderhttpMethod(com.pulumi.core.Output<java.lang.String> httpMethod)MonitorState.BuilderhttpMethod(java.lang.String httpMethod)MonitorState.BuildermaxRetries(com.pulumi.core.Output<java.lang.Integer> maxRetries)MonitorState.BuildermaxRetries(java.lang.Integer maxRetries)MonitorState.BuildermaxRetriesDown(com.pulumi.core.Output<java.lang.Integer> maxRetriesDown)MonitorState.BuildermaxRetriesDown(java.lang.Integer maxRetriesDown)MonitorState.Buildername(com.pulumi.core.Output<java.lang.String> name)MonitorState.Buildername(java.lang.String name)MonitorState.BuilderpoolId(com.pulumi.core.Output<java.lang.String> poolId)MonitorState.BuilderpoolId(java.lang.String poolId)MonitorState.Builderregion(com.pulumi.core.Output<java.lang.String> region)MonitorState.Builderregion(java.lang.String region)MonitorState.BuildertenantId(com.pulumi.core.Output<java.lang.String> tenantId)MonitorState.BuildertenantId(java.lang.String tenantId)MonitorState.Buildertimeout(com.pulumi.core.Output<java.lang.Integer> timeout)MonitorState.Buildertimeout(java.lang.Integer timeout)MonitorState.Buildertype(com.pulumi.core.Output<java.lang.String> type)MonitorState.Buildertype(java.lang.String type)MonitorState.BuilderurlPath(com.pulumi.core.Output<java.lang.String> urlPath)MonitorState.BuilderurlPath(java.lang.String urlPath)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(MonitorState defaults)
-
-
Method Detail
-
adminStateUp
public MonitorState.Builder adminStateUp(@Nullable com.pulumi.core.Output<java.lang.Boolean> adminStateUp)
- Parameters:
adminStateUp- The administrative state of the monitor. A valid value is true (UP) or false (DOWN).- Returns:
- builder
-
adminStateUp
public MonitorState.Builder adminStateUp(java.lang.Boolean adminStateUp)
- Parameters:
adminStateUp- The administrative state of the monitor. A valid value is true (UP) or false (DOWN).- Returns:
- builder
-
delay
public MonitorState.Builder delay(@Nullable com.pulumi.core.Output<java.lang.Integer> delay)
- Parameters:
delay- The time, in seconds, between sending probes to members.- Returns:
- builder
-
delay
public MonitorState.Builder delay(java.lang.Integer delay)
- Parameters:
delay- The time, in seconds, between sending probes to members.- Returns:
- builder
-
expectedCodes
public MonitorState.Builder expectedCodes(@Nullable com.pulumi.core.Output<java.lang.String> expectedCodes)
- Parameters:
expectedCodes- Required for HTTP(S) types. Expected HTTP codes for a passing HTTP(S) monitor. You can either specify a single status like "200", or a range like "200-202".- Returns:
- builder
-
expectedCodes
public MonitorState.Builder expectedCodes(java.lang.String expectedCodes)
- Parameters:
expectedCodes- Required for HTTP(S) types. Expected HTTP codes for a passing HTTP(S) monitor. You can either specify a single status like "200", or a range like "200-202".- Returns:
- builder
-
httpMethod
public MonitorState.Builder httpMethod(@Nullable com.pulumi.core.Output<java.lang.String> httpMethod)
- Parameters:
httpMethod- Required for HTTP(S) types. The HTTP method used for requests by the monitor. If this attribute is not specified, it defaults to "GET".- Returns:
- builder
-
httpMethod
public MonitorState.Builder httpMethod(java.lang.String httpMethod)
- Parameters:
httpMethod- Required for HTTP(S) types. The HTTP method used for requests by the monitor. If this attribute is not specified, it defaults to "GET".- Returns:
- builder
-
maxRetries
public MonitorState.Builder maxRetries(@Nullable com.pulumi.core.Output<java.lang.Integer> maxRetries)
- Parameters:
maxRetries- Number of permissible ping failures before changing the member's status to INACTIVE. Must be a number between 1 and 10.- Returns:
- builder
-
maxRetries
public MonitorState.Builder maxRetries(java.lang.Integer maxRetries)
- Parameters:
maxRetries- Number of permissible ping failures before changing the member's status to INACTIVE. Must be a number between 1 and 10.- Returns:
- builder
-
maxRetriesDown
public MonitorState.Builder maxRetriesDown(@Nullable com.pulumi.core.Output<java.lang.Integer> maxRetriesDown)
- Parameters:
maxRetriesDown- Number of permissible ping failures befor changing the member's status to ERROR. Must be a number between 1 and 10 (supported only in Octavia). Changing this updates the max_retries_down of the existing monitor.- Returns:
- builder
-
maxRetriesDown
public MonitorState.Builder maxRetriesDown(java.lang.Integer maxRetriesDown)
- Parameters:
maxRetriesDown- Number of permissible ping failures befor changing the member's status to ERROR. Must be a number between 1 and 10 (supported only in Octavia). Changing this updates the max_retries_down of the existing monitor.- Returns:
- builder
-
name
public MonitorState.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name- The Name of the Monitor.- Returns:
- builder
-
name
public MonitorState.Builder name(java.lang.String name)
- Parameters:
name- The Name of the Monitor.- Returns:
- builder
-
poolId
public MonitorState.Builder poolId(@Nullable com.pulumi.core.Output<java.lang.String> poolId)
- Parameters:
poolId- The id of the pool that this monitor will be assigned to.- Returns:
- builder
-
poolId
public MonitorState.Builder poolId(java.lang.String poolId)
- Parameters:
poolId- The id of the pool that this monitor will be assigned to.- Returns:
- builder
-
region
public MonitorState.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 . If omitted, the `region` argument of the provider is used. Changing this creates a new monitor.- Returns:
- builder
-
region
public MonitorState.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 . If omitted, the `region` argument of the provider is used. Changing this creates a new monitor.- Returns:
- builder
-
tenantId
public MonitorState.Builder tenantId(@Nullable com.pulumi.core.Output<java.lang.String> tenantId)
- Parameters:
tenantId- Required for admins. The UUID of the tenant who owns the monitor. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new monitor.- Returns:
- builder
-
tenantId
public MonitorState.Builder tenantId(java.lang.String tenantId)
- Parameters:
tenantId- Required for admins. The UUID of the tenant who owns the monitor. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new monitor.- Returns:
- builder
-
timeout
public MonitorState.Builder timeout(@Nullable com.pulumi.core.Output<java.lang.Integer> timeout)
- Parameters:
timeout- Maximum number of seconds for a monitor to wait for a ping reply before it times out. The value must be less than the delay value.- Returns:
- builder
-
timeout
public MonitorState.Builder timeout(java.lang.Integer timeout)
- Parameters:
timeout- Maximum number of seconds for a monitor to wait for a ping reply before it times out. The value must be less than the delay value.- Returns:
- builder
-
type
public MonitorState.Builder type(@Nullable com.pulumi.core.Output<java.lang.String> type)
- Parameters:
type- The type of probe, which is PING, TCP, HTTP, HTTPS, TLS-HELLO or UDP-CONNECT (supported only in Octavia), that is sent by the load balancer to verify the member state. Changing this creates a new monitor.- Returns:
- builder
-
type
public MonitorState.Builder type(java.lang.String type)
- Parameters:
type- The type of probe, which is PING, TCP, HTTP, HTTPS, TLS-HELLO or UDP-CONNECT (supported only in Octavia), that is sent by the load balancer to verify the member state. Changing this creates a new monitor.- Returns:
- builder
-
urlPath
public MonitorState.Builder urlPath(@Nullable com.pulumi.core.Output<java.lang.String> urlPath)
- Parameters:
urlPath- Required for HTTP(S) types. URI path that will be accessed if monitor type is HTTP or HTTPS.- Returns:
- builder
-
urlPath
public MonitorState.Builder urlPath(java.lang.String urlPath)
- Parameters:
urlPath- Required for HTTP(S) types. URI path that will be accessed if monitor type is HTTP or HTTPS.- Returns:
- builder
-
build
public MonitorState build()
-
-