Struct aws_sdk_elasticloadbalancingv2::model::rule::Builder [−][src]
#[non_exhaustive]pub struct Builder { /* fields omitted */ }
Expand description
A builder for Rule
Implementations
The Amazon Resource Name (ARN) of the rule.
The Amazon Resource Name (ARN) of the rule.
The priority.
Appends an item to conditions
.
To override the contents of this collection use set_conditions
.
The conditions. Each rule can include zero or one of the following conditions:
http-request-method
, host-header
, path-pattern
, and
source-ip
, and zero or more of the following conditions:
http-header
and query-string
.
The conditions. Each rule can include zero or one of the following conditions:
http-request-method
, host-header
, path-pattern
, and
source-ip
, and zero or more of the following conditions:
http-header
and query-string
.
Appends an item to actions
.
To override the contents of this collection use set_actions
.
The actions. Each rule must include exactly one of the following types of actions:
forward
, redirect
, or fixed-response
, and it must be
the last action to be performed.
The actions. Each rule must include exactly one of the following types of actions:
forward
, redirect
, or fixed-response
, and it must be
the last action to be performed.
Indicates whether this is the default rule.
Indicates whether this is the default rule.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl UnwindSafe for Builder
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more