Struct aws_sdk_wafv2::operation::get_rate_based_statement_managed_keys::builders::GetRateBasedStatementManagedKeysInputBuilder
source · #[non_exhaustive]pub struct GetRateBasedStatementManagedKeysInputBuilder { /* private fields */ }
Expand description
A builder for GetRateBasedStatementManagedKeysInput
.
Implementations§
source§impl GetRateBasedStatementManagedKeysInputBuilder
impl GetRateBasedStatementManagedKeysInputBuilder
sourcepub fn scope(self, input: Scope) -> Self
pub fn scope(self, input: Scope) -> Self
Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, an App Runner service, or an Amazon Web Services Verified Access instance.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
-
CLI - Specify the Region when you use the CloudFront scope:
--scope=CLOUDFRONT --region=us-east-1
. -
API and SDKs - For all calls, use the Region endpoint us-east-1.
sourcepub fn set_scope(self, input: Option<Scope>) -> Self
pub fn set_scope(self, input: Option<Scope>) -> Self
Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, an App Runner service, or an Amazon Web Services Verified Access instance.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
-
CLI - Specify the Region when you use the CloudFront scope:
--scope=CLOUDFRONT --region=us-east-1
. -
API and SDKs - For all calls, use the Region endpoint us-east-1.
sourcepub fn get_scope(&self) -> &Option<Scope>
pub fn get_scope(&self) -> &Option<Scope>
Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, an App Runner service, or an Amazon Web Services Verified Access instance.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
-
CLI - Specify the Region when you use the CloudFront scope:
--scope=CLOUDFRONT --region=us-east-1
. -
API and SDKs - For all calls, use the Region endpoint us-east-1.
sourcepub fn web_acl_name(self, input: impl Into<String>) -> Self
pub fn web_acl_name(self, input: impl Into<String>) -> Self
The name of the web ACL. You cannot change the name of a web ACL after you create it.
This field is required.sourcepub fn set_web_acl_name(self, input: Option<String>) -> Self
pub fn set_web_acl_name(self, input: Option<String>) -> Self
The name of the web ACL. You cannot change the name of a web ACL after you create it.
sourcepub fn get_web_acl_name(&self) -> &Option<String>
pub fn get_web_acl_name(&self) -> &Option<String>
The name of the web ACL. You cannot change the name of a web ACL after you create it.
sourcepub fn web_acl_id(self, input: impl Into<String>) -> Self
pub fn web_acl_id(self, input: impl Into<String>) -> Self
The unique identifier for the web ACL. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.
This field is required.sourcepub fn set_web_acl_id(self, input: Option<String>) -> Self
pub fn set_web_acl_id(self, input: Option<String>) -> Self
The unique identifier for the web ACL. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.
sourcepub fn get_web_acl_id(&self) -> &Option<String>
pub fn get_web_acl_id(&self) -> &Option<String>
The unique identifier for the web ACL. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.
sourcepub fn rule_group_rule_name(self, input: impl Into<String>) -> Self
pub fn rule_group_rule_name(self, input: impl Into<String>) -> Self
The name of the rule group reference statement in your web ACL. This is required only when you have the rate-based rule nested inside a rule group.
sourcepub fn set_rule_group_rule_name(self, input: Option<String>) -> Self
pub fn set_rule_group_rule_name(self, input: Option<String>) -> Self
The name of the rule group reference statement in your web ACL. This is required only when you have the rate-based rule nested inside a rule group.
sourcepub fn get_rule_group_rule_name(&self) -> &Option<String>
pub fn get_rule_group_rule_name(&self) -> &Option<String>
The name of the rule group reference statement in your web ACL. This is required only when you have the rate-based rule nested inside a rule group.
sourcepub fn rule_name(self, input: impl Into<String>) -> Self
pub fn rule_name(self, input: impl Into<String>) -> Self
The name of the rate-based rule to get the keys for. If you have the rule defined inside a rule group that you're using in your web ACL, also provide the name of the rule group reference statement in the request parameter RuleGroupRuleName
.
sourcepub fn set_rule_name(self, input: Option<String>) -> Self
pub fn set_rule_name(self, input: Option<String>) -> Self
The name of the rate-based rule to get the keys for. If you have the rule defined inside a rule group that you're using in your web ACL, also provide the name of the rule group reference statement in the request parameter RuleGroupRuleName
.
sourcepub fn get_rule_name(&self) -> &Option<String>
pub fn get_rule_name(&self) -> &Option<String>
The name of the rate-based rule to get the keys for. If you have the rule defined inside a rule group that you're using in your web ACL, also provide the name of the rule group reference statement in the request parameter RuleGroupRuleName
.
sourcepub fn build(self) -> Result<GetRateBasedStatementManagedKeysInput, BuildError>
pub fn build(self) -> Result<GetRateBasedStatementManagedKeysInput, BuildError>
Consumes the builder and constructs a GetRateBasedStatementManagedKeysInput
.
source§impl GetRateBasedStatementManagedKeysInputBuilder
impl GetRateBasedStatementManagedKeysInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetRateBasedStatementManagedKeysOutput, SdkError<GetRateBasedStatementManagedKeysError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetRateBasedStatementManagedKeysOutput, SdkError<GetRateBasedStatementManagedKeysError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetRateBasedStatementManagedKeysInputBuilder
impl Clone for GetRateBasedStatementManagedKeysInputBuilder
source§fn clone(&self) -> GetRateBasedStatementManagedKeysInputBuilder
fn clone(&self) -> GetRateBasedStatementManagedKeysInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetRateBasedStatementManagedKeysInputBuilder
impl Default for GetRateBasedStatementManagedKeysInputBuilder
source§fn default() -> GetRateBasedStatementManagedKeysInputBuilder
fn default() -> GetRateBasedStatementManagedKeysInputBuilder
source§impl PartialEq for GetRateBasedStatementManagedKeysInputBuilder
impl PartialEq for GetRateBasedStatementManagedKeysInputBuilder
source§fn eq(&self, other: &GetRateBasedStatementManagedKeysInputBuilder) -> bool
fn eq(&self, other: &GetRateBasedStatementManagedKeysInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetRateBasedStatementManagedKeysInputBuilder
Auto Trait Implementations§
impl Freeze for GetRateBasedStatementManagedKeysInputBuilder
impl RefUnwindSafe for GetRateBasedStatementManagedKeysInputBuilder
impl Send for GetRateBasedStatementManagedKeysInputBuilder
impl Sync for GetRateBasedStatementManagedKeysInputBuilder
impl Unpin for GetRateBasedStatementManagedKeysInputBuilder
impl UnwindSafe for GetRateBasedStatementManagedKeysInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more