Struct aws_sdk_wafv2::operation::get_web_acl_for_resource::builders::GetWebAclForResourceOutputBuilder
source · #[non_exhaustive]pub struct GetWebAclForResourceOutputBuilder { /* private fields */ }
Expand description
A builder for GetWebAclForResourceOutput
.
Implementations§
source§impl GetWebAclForResourceOutputBuilder
impl GetWebAclForResourceOutputBuilder
sourcepub fn web_acl(self, input: WebAcl) -> Self
pub fn web_acl(self, input: WebAcl) -> Self
The web ACL that is associated with the resource. If there is no associated resource, WAF returns a null web ACL.
sourcepub fn set_web_acl(self, input: Option<WebAcl>) -> Self
pub fn set_web_acl(self, input: Option<WebAcl>) -> Self
The web ACL that is associated with the resource. If there is no associated resource, WAF returns a null web ACL.
sourcepub fn get_web_acl(&self) -> &Option<WebAcl>
pub fn get_web_acl(&self) -> &Option<WebAcl>
The web ACL that is associated with the resource. If there is no associated resource, WAF returns a null web ACL.
sourcepub fn build(self) -> GetWebAclForResourceOutput
pub fn build(self) -> GetWebAclForResourceOutput
Consumes the builder and constructs a GetWebAclForResourceOutput
.
Trait Implementations§
source§impl Clone for GetWebAclForResourceOutputBuilder
impl Clone for GetWebAclForResourceOutputBuilder
source§fn clone(&self) -> GetWebAclForResourceOutputBuilder
fn clone(&self) -> GetWebAclForResourceOutputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for GetWebAclForResourceOutputBuilder
impl Default for GetWebAclForResourceOutputBuilder
source§fn default() -> GetWebAclForResourceOutputBuilder
fn default() -> GetWebAclForResourceOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetWebAclForResourceOutputBuilder
impl PartialEq for GetWebAclForResourceOutputBuilder
source§fn eq(&self, other: &GetWebAclForResourceOutputBuilder) -> bool
fn eq(&self, other: &GetWebAclForResourceOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetWebAclForResourceOutputBuilder
Auto Trait Implementations§
impl Freeze for GetWebAclForResourceOutputBuilder
impl RefUnwindSafe for GetWebAclForResourceOutputBuilder
impl Send for GetWebAclForResourceOutputBuilder
impl Sync for GetWebAclForResourceOutputBuilder
impl Unpin for GetWebAclForResourceOutputBuilder
impl UnwindSafe for GetWebAclForResourceOutputBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.