Class L7RuleV2State.Builder
- java.lang.Object
-
- com.pulumi.openstack.loadbalancer.inputs.L7RuleV2State.Builder
-
- Enclosing class:
- L7RuleV2State
public static final class L7RuleV2State.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(L7RuleV2State defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description L7RuleV2State.BuilderadminStateUp(com.pulumi.core.Output<java.lang.Boolean> adminStateUp)L7RuleV2State.BuilderadminStateUp(java.lang.Boolean adminStateUp)L7RuleV2Statebuild()L7RuleV2State.BuildercompareType(com.pulumi.core.Output<java.lang.String> compareType)L7RuleV2State.BuildercompareType(java.lang.String compareType)L7RuleV2State.Builderinvert(com.pulumi.core.Output<java.lang.Boolean> invert)L7RuleV2State.Builderinvert(java.lang.Boolean invert)L7RuleV2State.Builderkey(com.pulumi.core.Output<java.lang.String> key)L7RuleV2State.Builderkey(java.lang.String key)L7RuleV2State.Builderl7policyId(com.pulumi.core.Output<java.lang.String> l7policyId)L7RuleV2State.Builderl7policyId(java.lang.String l7policyId)L7RuleV2State.BuilderlistenerId(com.pulumi.core.Output<java.lang.String> listenerId)L7RuleV2State.BuilderlistenerId(java.lang.String listenerId)L7RuleV2State.Builderregion(com.pulumi.core.Output<java.lang.String> region)L7RuleV2State.Builderregion(java.lang.String region)L7RuleV2State.BuildertenantId(com.pulumi.core.Output<java.lang.String> tenantId)L7RuleV2State.BuildertenantId(java.lang.String tenantId)L7RuleV2State.Buildertype(com.pulumi.core.Output<java.lang.String> type)L7RuleV2State.Buildertype(java.lang.String type)L7RuleV2State.Buildervalue(com.pulumi.core.Output<java.lang.String> value)L7RuleV2State.Buildervalue(java.lang.String value)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(L7RuleV2State defaults)
-
-
Method Detail
-
adminStateUp
public L7RuleV2State.Builder adminStateUp(@Nullable com.pulumi.core.Output<java.lang.Boolean> adminStateUp)
- Parameters:
adminStateUp- The administrative state of the L7 Rule. A valid value is true (UP) or false (DOWN).- Returns:
- builder
-
adminStateUp
public L7RuleV2State.Builder adminStateUp(java.lang.Boolean adminStateUp)
- Parameters:
adminStateUp- The administrative state of the L7 Rule. A valid value is true (UP) or false (DOWN).- Returns:
- builder
-
compareType
public L7RuleV2State.Builder compareType(@Nullable com.pulumi.core.Output<java.lang.String> compareType)
- Parameters:
compareType- The comparison type for the L7 rule - can either be CONTAINS, STARTS\_WITH, ENDS_WITH, EQUAL_TO or REGEX- Returns:
- builder
-
compareType
public L7RuleV2State.Builder compareType(java.lang.String compareType)
- Parameters:
compareType- The comparison type for the L7 rule - can either be CONTAINS, STARTS\_WITH, ENDS_WITH, EQUAL_TO or REGEX- Returns:
- builder
-
invert
public L7RuleV2State.Builder invert(@Nullable com.pulumi.core.Output<java.lang.Boolean> invert)
- Parameters:
invert- When true the logic of the rule is inverted. For example, with invert true, equal to would become not equal to. Default is false.- Returns:
- builder
-
invert
public L7RuleV2State.Builder invert(java.lang.Boolean invert)
- Parameters:
invert- When true the logic of the rule is inverted. For example, with invert true, equal to would become not equal to. Default is false.- Returns:
- builder
-
key
public L7RuleV2State.Builder key(@Nullable com.pulumi.core.Output<java.lang.String> key)
- Parameters:
key- The key to use for the comparison. For example, the name of the cookie to evaluate. Valid when `type` is set to COOKIE or HEADER.- Returns:
- builder
-
key
public L7RuleV2State.Builder key(java.lang.String key)
- Parameters:
key- The key to use for the comparison. For example, the name of the cookie to evaluate. Valid when `type` is set to COOKIE or HEADER.- Returns:
- builder
-
l7policyId
public L7RuleV2State.Builder l7policyId(@Nullable com.pulumi.core.Output<java.lang.String> l7policyId)
- Parameters:
l7policyId- The ID of the L7 Policy to query. Changing this creates a new L7 Rule.- Returns:
- builder
-
l7policyId
public L7RuleV2State.Builder l7policyId(java.lang.String l7policyId)
- Parameters:
l7policyId- The ID of the L7 Policy to query. Changing this creates a new L7 Rule.- Returns:
- builder
-
listenerId
public L7RuleV2State.Builder listenerId(@Nullable com.pulumi.core.Output<java.lang.String> listenerId)
- Parameters:
listenerId- The ID of the Listener owning this resource.- Returns:
- builder
-
listenerId
public L7RuleV2State.Builder listenerId(java.lang.String listenerId)
- Parameters:
listenerId- The ID of the Listener owning this resource.- Returns:
- builder
-
region
public L7RuleV2State.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 L7 Rule.- Returns:
- builder
-
region
public L7RuleV2State.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 L7 Rule.- Returns:
- builder
-
tenantId
public L7RuleV2State.Builder tenantId(@Nullable com.pulumi.core.Output<java.lang.String> tenantId)
- Parameters:
tenantId- Required for admins. The UUID of the tenant who owns the L7 Rule. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new L7 Rule.- Returns:
- builder
-
tenantId
public L7RuleV2State.Builder tenantId(java.lang.String tenantId)
- Parameters:
tenantId- Required for admins. The UUID of the tenant who owns the L7 Rule. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new L7 Rule.- Returns:
- builder
-
type
public L7RuleV2State.Builder type(@Nullable com.pulumi.core.Output<java.lang.String> type)
- Parameters:
type- The L7 Rule type - can either be COOKIE, FILE\_TYPE, HEADER, HOST\_NAME or PATH.- Returns:
- builder
-
type
public L7RuleV2State.Builder type(java.lang.String type)
- Parameters:
type- The L7 Rule type - can either be COOKIE, FILE\_TYPE, HEADER, HOST\_NAME or PATH.- Returns:
- builder
-
value
public L7RuleV2State.Builder value(@Nullable com.pulumi.core.Output<java.lang.String> value)
- Parameters:
value- The value to use for the comparison. For example, the file type to compare.- Returns:
- builder
-
value
public L7RuleV2State.Builder value(java.lang.String value)
- Parameters:
value- The value to use for the comparison. For example, the file type to compare.- Returns:
- builder
-
build
public L7RuleV2State build()
-
-