Class MonitorV1State.Builder
- java.lang.Object
-
- com.pulumi.openstack.loadbalancer.inputs.MonitorV1State.Builder
-
- Enclosing class:
- MonitorV1State
public static final class MonitorV1State.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(MonitorV1State defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MonitorV1State.BuilderadminStateUp(com.pulumi.core.Output<java.lang.String> adminStateUp)MonitorV1State.BuilderadminStateUp(java.lang.String adminStateUp)MonitorV1Statebuild()MonitorV1State.Builderdelay(com.pulumi.core.Output<java.lang.Integer> delay)MonitorV1State.Builderdelay(java.lang.Integer delay)MonitorV1State.BuilderexpectedCodes(com.pulumi.core.Output<java.lang.String> expectedCodes)MonitorV1State.BuilderexpectedCodes(java.lang.String expectedCodes)MonitorV1State.BuilderhttpMethod(com.pulumi.core.Output<java.lang.String> httpMethod)MonitorV1State.BuilderhttpMethod(java.lang.String httpMethod)MonitorV1State.BuildermaxRetries(com.pulumi.core.Output<java.lang.Integer> maxRetries)MonitorV1State.BuildermaxRetries(java.lang.Integer maxRetries)MonitorV1State.Builderregion(com.pulumi.core.Output<java.lang.String> region)MonitorV1State.Builderregion(java.lang.String region)MonitorV1State.BuildertenantId(com.pulumi.core.Output<java.lang.String> tenantId)MonitorV1State.BuildertenantId(java.lang.String tenantId)MonitorV1State.Buildertimeout(com.pulumi.core.Output<java.lang.Integer> timeout)MonitorV1State.Buildertimeout(java.lang.Integer timeout)MonitorV1State.Buildertype(com.pulumi.core.Output<java.lang.String> type)MonitorV1State.Buildertype(java.lang.String type)MonitorV1State.BuilderurlPath(com.pulumi.core.Output<java.lang.String> urlPath)MonitorV1State.BuilderurlPath(java.lang.String urlPath)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(MonitorV1State defaults)
-
-
Method Detail
-
adminStateUp
public MonitorV1State.Builder adminStateUp(@Nullable com.pulumi.core.Output<java.lang.String> adminStateUp)
- Parameters:
adminStateUp- The administrative state of the monitor. Acceptable values are "true" and "false". Changing this value updates the state of the existing monitor.- Returns:
- builder
-
adminStateUp
public MonitorV1State.Builder adminStateUp(java.lang.String adminStateUp)
- Parameters:
adminStateUp- The administrative state of the monitor. Acceptable values are "true" and "false". Changing this value updates the state of the existing monitor.- Returns:
- builder
-
delay
public MonitorV1State.Builder delay(@Nullable com.pulumi.core.Output<java.lang.Integer> delay)
- Parameters:
delay- The time, in seconds, between sending probes to members. Changing this creates a new monitor.- Returns:
- builder
-
delay
public MonitorV1State.Builder delay(java.lang.Integer delay)
- Parameters:
delay- The time, in seconds, between sending probes to members. Changing this creates a new monitor.- Returns:
- builder
-
expectedCodes
public MonitorV1State.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". Changing this updates the expected_codes of the existing monitor.- Returns:
- builder
-
expectedCodes
public MonitorV1State.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". Changing this updates the expected_codes of the existing monitor.- Returns:
- builder
-
httpMethod
public MonitorV1State.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". Changing this updates the http_method of the existing monitor.- Returns:
- builder
-
httpMethod
public MonitorV1State.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". Changing this updates the http_method of the existing monitor.- Returns:
- builder
-
maxRetries
public MonitorV1State.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. Changing this updates the max_retries of the existing monitor.- Returns:
- builder
-
maxRetries
public MonitorV1State.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. Changing this updates the max_retries of the existing monitor.- Returns:
- builder
-
region
public MonitorV1State.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 LB monitor. If omitted, the `region` argument of the provider is used. Changing this creates a new LB monitor.- Returns:
- builder
-
region
public MonitorV1State.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 LB monitor. If omitted, the `region` argument of the provider is used. Changing this creates a new LB monitor.- Returns:
- builder
-
tenantId
public MonitorV1State.Builder tenantId(@Nullable com.pulumi.core.Output<java.lang.String> tenantId)
- Parameters:
tenantId- The owner of the monitor. Required if admin wants to create a monitor for another tenant. Changing this creates a new monitor.- Returns:
- builder
-
tenantId
public MonitorV1State.Builder tenantId(java.lang.String tenantId)
- Parameters:
tenantId- The owner of the monitor. Required if admin wants to create a monitor for another tenant. Changing this creates a new monitor.- Returns:
- builder
-
timeout
public MonitorV1State.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. Changing this updates the timeout of the existing monitor.- Returns:
- builder
-
timeout
public MonitorV1State.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. Changing this updates the timeout of the existing monitor.- Returns:
- builder
-
type
public MonitorV1State.Builder type(@Nullable com.pulumi.core.Output<java.lang.String> type)
- Parameters:
type- The type of probe, which is PING, TCP, HTTP, or HTTPS, that is sent by the monitor to verify the member state. Changing this creates a new monitor.- Returns:
- builder
-
type
public MonitorV1State.Builder type(java.lang.String type)
- Parameters:
type- The type of probe, which is PING, TCP, HTTP, or HTTPS, that is sent by the monitor to verify the member state. Changing this creates a new monitor.- Returns:
- builder
-
urlPath
public MonitorV1State.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. Changing this updates the url_path of the existing monitor.- Returns:
- builder
-
urlPath
public MonitorV1State.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. Changing this updates the url_path of the existing monitor.- Returns:
- builder
-
build
public MonitorV1State build()
-
-