Package com.pulumi.aws.lb
Class ListenerRuleArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.lb.ListenerRuleArgs.Builder
-
- Enclosing class:
- ListenerRuleArgs
public static final class ListenerRuleArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(ListenerRuleArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ListenerRuleArgs defaults)
-
-
Method Detail
-
actions
public ListenerRuleArgs.Builder actions(com.pulumi.core.Output<java.util.List<ListenerRuleActionArgs>> actions)
- Parameters:
actions- An Action block. Action blocks are documented below.- Returns:
- builder
-
actions
public ListenerRuleArgs.Builder actions(java.util.List<ListenerRuleActionArgs> actions)
- Parameters:
actions- An Action block. Action blocks are documented below.- Returns:
- builder
-
actions
public ListenerRuleArgs.Builder actions(ListenerRuleActionArgs... actions)
- Parameters:
actions- An Action block. Action blocks are documented below.- Returns:
- builder
-
conditions
public ListenerRuleArgs.Builder conditions(com.pulumi.core.Output<java.util.List<ListenerRuleConditionArgs>> conditions)
- Parameters:
conditions- A Condition block. Multiple condition blocks of different types can be set and all must be satisfied for the rule to match. Condition blocks are documented below.- Returns:
- builder
-
conditions
public ListenerRuleArgs.Builder conditions(java.util.List<ListenerRuleConditionArgs> conditions)
- Parameters:
conditions- A Condition block. Multiple condition blocks of different types can be set and all must be satisfied for the rule to match. Condition blocks are documented below.- Returns:
- builder
-
conditions
public ListenerRuleArgs.Builder conditions(ListenerRuleConditionArgs... conditions)
- Parameters:
conditions- A Condition block. Multiple condition blocks of different types can be set and all must be satisfied for the rule to match. Condition blocks are documented below.- Returns:
- builder
-
listenerArn
public ListenerRuleArgs.Builder listenerArn(com.pulumi.core.Output<java.lang.String> listenerArn)
- Parameters:
listenerArn- The ARN of the listener to which to attach the rule.- Returns:
- builder
-
listenerArn
public ListenerRuleArgs.Builder listenerArn(java.lang.String listenerArn)
- Parameters:
listenerArn- The ARN of the listener to which to attach the rule.- Returns:
- builder
-
priority
public ListenerRuleArgs.Builder priority(@Nullable com.pulumi.core.Output<java.lang.Integer> priority)
- Parameters:
priority- The priority for the rule between `1` and `50000`. Leaving it unset will automatically set the rule with next available priority after currently existing highest rule. A listener can't have multiple rules with the same priority.- Returns:
- builder
-
priority
public ListenerRuleArgs.Builder priority(java.lang.Integer priority)
- Parameters:
priority- The priority for the rule between `1` and `50000`. Leaving it unset will automatically set the rule with next available priority after currently existing highest rule. A listener can't have multiple rules with the same priority.- Returns:
- builder
-
region
public ListenerRuleArgs.Builder region(@Nullable com.pulumi.core.Output<java.lang.String> region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
region
public ListenerRuleArgs.Builder region(java.lang.String region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
tags
public ListenerRuleArgs.Builder tags(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
- Parameters:
tags- A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tags
public ListenerRuleArgs.Builder tags(java.util.Map<java.lang.String,java.lang.String> tags)
- Parameters:
tags- A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
transforms
public ListenerRuleArgs.Builder transforms(@Nullable com.pulumi.core.Output<java.util.List<ListenerRuleTransformArgs>> transforms)
- Parameters:
transforms- Configuration block that defines the transform to apply to requests matching this rule. See Transform Blocks below for more details. Once specified, to remove the transform from the rule, remove the `transform` block from the configuration.- Returns:
- builder
-
transforms
public ListenerRuleArgs.Builder transforms(java.util.List<ListenerRuleTransformArgs> transforms)
- Parameters:
transforms- Configuration block that defines the transform to apply to requests matching this rule. See Transform Blocks below for more details. Once specified, to remove the transform from the rule, remove the `transform` block from the configuration.- Returns:
- builder
-
transforms
public ListenerRuleArgs.Builder transforms(ListenerRuleTransformArgs... transforms)
- Parameters:
transforms- Configuration block that defines the transform to apply to requests matching this rule. See Transform Blocks below for more details. Once specified, to remove the transform from the rule, remove the `transform` block from the configuration.- Returns:
- builder
-
build
public ListenerRuleArgs build()
-
-