Struct aws_sdk_wafv2::operation::list_resources_for_web_acl::builders::ListResourcesForWebAclInputBuilder
source · #[non_exhaustive]pub struct ListResourcesForWebAclInputBuilder { /* private fields */ }
Expand description
A builder for ListResourcesForWebAclInput
.
Implementations§
source§impl ListResourcesForWebAclInputBuilder
impl ListResourcesForWebAclInputBuilder
sourcepub fn web_acl_arn(self, input: impl Into<String>) -> Self
pub fn web_acl_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the web ACL.
This field is required.sourcepub fn set_web_acl_arn(self, input: Option<String>) -> Self
pub fn set_web_acl_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the web ACL.
sourcepub fn get_web_acl_arn(&self) -> &Option<String>
pub fn get_web_acl_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the web ACL.
sourcepub fn resource_type(self, input: ResourceType) -> Self
pub fn resource_type(self, input: ResourceType) -> Self
Used for web ACLs that are scoped for regional applications. 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.
If you don't provide a resource type, the call uses the resource type APPLICATION_LOAD_BALANCER
.
Default: APPLICATION_LOAD_BALANCER
sourcepub fn set_resource_type(self, input: Option<ResourceType>) -> Self
pub fn set_resource_type(self, input: Option<ResourceType>) -> Self
Used for web ACLs that are scoped for regional applications. 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.
If you don't provide a resource type, the call uses the resource type APPLICATION_LOAD_BALANCER
.
Default: APPLICATION_LOAD_BALANCER
sourcepub fn get_resource_type(&self) -> &Option<ResourceType>
pub fn get_resource_type(&self) -> &Option<ResourceType>
Used for web ACLs that are scoped for regional applications. 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.
If you don't provide a resource type, the call uses the resource type APPLICATION_LOAD_BALANCER
.
Default: APPLICATION_LOAD_BALANCER
sourcepub fn build(self) -> Result<ListResourcesForWebAclInput, BuildError>
pub fn build(self) -> Result<ListResourcesForWebAclInput, BuildError>
Consumes the builder and constructs a ListResourcesForWebAclInput
.
source§impl ListResourcesForWebAclInputBuilder
impl ListResourcesForWebAclInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ListResourcesForWebAclOutput, SdkError<ListResourcesForWebACLError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ListResourcesForWebAclOutput, SdkError<ListResourcesForWebACLError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListResourcesForWebAclInputBuilder
impl Clone for ListResourcesForWebAclInputBuilder
source§fn clone(&self) -> ListResourcesForWebAclInputBuilder
fn clone(&self) -> ListResourcesForWebAclInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListResourcesForWebAclInputBuilder
impl Default for ListResourcesForWebAclInputBuilder
source§fn default() -> ListResourcesForWebAclInputBuilder
fn default() -> ListResourcesForWebAclInputBuilder
source§impl PartialEq for ListResourcesForWebAclInputBuilder
impl PartialEq for ListResourcesForWebAclInputBuilder
source§fn eq(&self, other: &ListResourcesForWebAclInputBuilder) -> bool
fn eq(&self, other: &ListResourcesForWebAclInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListResourcesForWebAclInputBuilder
Auto Trait Implementations§
impl Freeze for ListResourcesForWebAclInputBuilder
impl RefUnwindSafe for ListResourcesForWebAclInputBuilder
impl Send for ListResourcesForWebAclInputBuilder
impl Sync for ListResourcesForWebAclInputBuilder
impl Unpin for ListResourcesForWebAclInputBuilder
impl UnwindSafe for ListResourcesForWebAclInputBuilder
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