Package com.pulumi.aws.lb.inputs
Class ListenerRuleState.Builder
- java.lang.Object
-
- com.pulumi.aws.lb.inputs.ListenerRuleState.Builder
-
- Enclosing class:
- ListenerRuleState
public static final class ListenerRuleState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(ListenerRuleState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListenerRuleState.Builderactions(ListenerRuleActionArgs... actions)ListenerRuleState.Builderactions(com.pulumi.core.Output<java.util.List<ListenerRuleActionArgs>> actions)ListenerRuleState.Builderactions(java.util.List<ListenerRuleActionArgs> actions)ListenerRuleState.Builderarn(com.pulumi.core.Output<java.lang.String> arn)ListenerRuleState.Builderarn(java.lang.String arn)ListenerRuleStatebuild()ListenerRuleState.Builderconditions(ListenerRuleConditionArgs... conditions)ListenerRuleState.Builderconditions(com.pulumi.core.Output<java.util.List<ListenerRuleConditionArgs>> conditions)ListenerRuleState.Builderconditions(java.util.List<ListenerRuleConditionArgs> conditions)ListenerRuleState.BuilderlistenerArn(com.pulumi.core.Output<java.lang.String> listenerArn)ListenerRuleState.BuilderlistenerArn(java.lang.String listenerArn)ListenerRuleState.Builderpriority(com.pulumi.core.Output<java.lang.Integer> priority)ListenerRuleState.Builderpriority(java.lang.Integer priority)ListenerRuleState.Builderregion(com.pulumi.core.Output<java.lang.String> region)ListenerRuleState.Builderregion(java.lang.String region)ListenerRuleState.Buildertags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)ListenerRuleState.Buildertags(java.util.Map<java.lang.String,java.lang.String> tags)ListenerRuleState.BuildertagsAll(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)ListenerRuleState.BuildertagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)ListenerRuleState.Buildertransforms(ListenerRuleTransformArgs... transforms)ListenerRuleState.Buildertransforms(com.pulumi.core.Output<java.util.List<ListenerRuleTransformArgs>> transforms)ListenerRuleState.Buildertransforms(java.util.List<ListenerRuleTransformArgs> transforms)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ListenerRuleState defaults)
-
-
Method Detail
-
actions
public ListenerRuleState.Builder actions(@Nullable com.pulumi.core.Output<java.util.List<ListenerRuleActionArgs>> actions)
- Parameters:
actions- An Action block. Action blocks are documented below.- Returns:
- builder
-
actions
public ListenerRuleState.Builder actions(java.util.List<ListenerRuleActionArgs> actions)
- Parameters:
actions- An Action block. Action blocks are documented below.- Returns:
- builder
-
actions
public ListenerRuleState.Builder actions(ListenerRuleActionArgs... actions)
- Parameters:
actions- An Action block. Action blocks are documented below.- Returns:
- builder
-
arn
public ListenerRuleState.Builder arn(@Nullable com.pulumi.core.Output<java.lang.String> arn)
- Parameters:
arn- The ARN of the rule (matches `id`)- Returns:
- builder
-
arn
public ListenerRuleState.Builder arn(java.lang.String arn)
- Parameters:
arn- The ARN of the rule (matches `id`)- Returns:
- builder
-
conditions
public ListenerRuleState.Builder conditions(@Nullable 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 ListenerRuleState.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 ListenerRuleState.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 ListenerRuleState.Builder listenerArn(@Nullable 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 ListenerRuleState.Builder listenerArn(java.lang.String listenerArn)
- Parameters:
listenerArn- The ARN of the listener to which to attach the rule.- Returns:
- builder
-
priority
public ListenerRuleState.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 ListenerRuleState.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 ListenerRuleState.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 ListenerRuleState.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 ListenerRuleState.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 ListenerRuleState.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
-
tagsAll
public ListenerRuleState.Builder tagsAll(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)
- Parameters:
tagsAll- A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.- Returns:
- builder
-
tagsAll
public ListenerRuleState.Builder tagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)
- Parameters:
tagsAll- A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.- Returns:
- builder
-
transforms
public ListenerRuleState.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 ListenerRuleState.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 ListenerRuleState.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 ListenerRuleState build()
-
-