Struct aws_sdk_route53resolver::operation::associate_resolver_query_log_config::builders::AssociateResolverQueryLogConfigInputBuilder
source · #[non_exhaustive]pub struct AssociateResolverQueryLogConfigInputBuilder { /* private fields */ }
Expand description
A builder for AssociateResolverQueryLogConfigInput
.
Implementations§
source§impl AssociateResolverQueryLogConfigInputBuilder
impl AssociateResolverQueryLogConfigInputBuilder
sourcepub fn resolver_query_log_config_id(self, input: impl Into<String>) -> Self
pub fn resolver_query_log_config_id(self, input: impl Into<String>) -> Self
The ID of the query logging configuration that you want to associate a VPC with.
This field is required.sourcepub fn set_resolver_query_log_config_id(self, input: Option<String>) -> Self
pub fn set_resolver_query_log_config_id(self, input: Option<String>) -> Self
The ID of the query logging configuration that you want to associate a VPC with.
sourcepub fn get_resolver_query_log_config_id(&self) -> &Option<String>
pub fn get_resolver_query_log_config_id(&self) -> &Option<String>
The ID of the query logging configuration that you want to associate a VPC with.
sourcepub fn resource_id(self, input: impl Into<String>) -> Self
pub fn resource_id(self, input: impl Into<String>) -> Self
The ID of an Amazon VPC that you want this query logging configuration to log queries for.
The VPCs and the query logging configuration must be in the same Region.
sourcepub fn set_resource_id(self, input: Option<String>) -> Self
pub fn set_resource_id(self, input: Option<String>) -> Self
The ID of an Amazon VPC that you want this query logging configuration to log queries for.
The VPCs and the query logging configuration must be in the same Region.
sourcepub fn get_resource_id(&self) -> &Option<String>
pub fn get_resource_id(&self) -> &Option<String>
The ID of an Amazon VPC that you want this query logging configuration to log queries for.
The VPCs and the query logging configuration must be in the same Region.
sourcepub fn build(self) -> Result<AssociateResolverQueryLogConfigInput, BuildError>
pub fn build(self) -> Result<AssociateResolverQueryLogConfigInput, BuildError>
Consumes the builder and constructs a AssociateResolverQueryLogConfigInput
.
source§impl AssociateResolverQueryLogConfigInputBuilder
impl AssociateResolverQueryLogConfigInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<AssociateResolverQueryLogConfigOutput, SdkError<AssociateResolverQueryLogConfigError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<AssociateResolverQueryLogConfigOutput, SdkError<AssociateResolverQueryLogConfigError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for AssociateResolverQueryLogConfigInputBuilder
impl Clone for AssociateResolverQueryLogConfigInputBuilder
source§fn clone(&self) -> AssociateResolverQueryLogConfigInputBuilder
fn clone(&self) -> AssociateResolverQueryLogConfigInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AssociateResolverQueryLogConfigInputBuilder
impl Default for AssociateResolverQueryLogConfigInputBuilder
source§fn default() -> AssociateResolverQueryLogConfigInputBuilder
fn default() -> AssociateResolverQueryLogConfigInputBuilder
source§impl PartialEq for AssociateResolverQueryLogConfigInputBuilder
impl PartialEq for AssociateResolverQueryLogConfigInputBuilder
source§fn eq(&self, other: &AssociateResolverQueryLogConfigInputBuilder) -> bool
fn eq(&self, other: &AssociateResolverQueryLogConfigInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AssociateResolverQueryLogConfigInputBuilder
Auto Trait Implementations§
impl Freeze for AssociateResolverQueryLogConfigInputBuilder
impl RefUnwindSafe for AssociateResolverQueryLogConfigInputBuilder
impl Send for AssociateResolverQueryLogConfigInputBuilder
impl Sync for AssociateResolverQueryLogConfigInputBuilder
impl Unpin for AssociateResolverQueryLogConfigInputBuilder
impl UnwindSafe for AssociateResolverQueryLogConfigInputBuilder
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