Struct aws_sdk_cloudsearch::operation::update_service_access_policies::builders::UpdateServiceAccessPoliciesInputBuilder
source · #[non_exhaustive]pub struct UpdateServiceAccessPoliciesInputBuilder { /* private fields */ }
Expand description
A builder for UpdateServiceAccessPoliciesInput
.
Implementations§
source§impl UpdateServiceAccessPoliciesInputBuilder
impl UpdateServiceAccessPoliciesInputBuilder
sourcepub fn domain_name(self, input: impl Into<String>) -> Self
pub fn domain_name(self, input: impl Into<String>) -> Self
A string that represents the name of a domain. Domain names are unique across the domains owned by an account within an AWS region. Domain names start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).
This field is required.sourcepub fn set_domain_name(self, input: Option<String>) -> Self
pub fn set_domain_name(self, input: Option<String>) -> Self
A string that represents the name of a domain. Domain names are unique across the domains owned by an account within an AWS region. Domain names start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).
sourcepub fn get_domain_name(&self) -> &Option<String>
pub fn get_domain_name(&self) -> &Option<String>
A string that represents the name of a domain. Domain names are unique across the domains owned by an account within an AWS region. Domain names start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).
sourcepub fn access_policies(self, input: impl Into<String>) -> Self
pub fn access_policies(self, input: impl Into<String>) -> Self
The access rules you want to configure. These rules replace any existing rules.
This field is required.sourcepub fn set_access_policies(self, input: Option<String>) -> Self
pub fn set_access_policies(self, input: Option<String>) -> Self
The access rules you want to configure. These rules replace any existing rules.
sourcepub fn get_access_policies(&self) -> &Option<String>
pub fn get_access_policies(&self) -> &Option<String>
The access rules you want to configure. These rules replace any existing rules.
sourcepub fn build(self) -> Result<UpdateServiceAccessPoliciesInput, BuildError>
pub fn build(self) -> Result<UpdateServiceAccessPoliciesInput, BuildError>
Consumes the builder and constructs a UpdateServiceAccessPoliciesInput
.
source§impl UpdateServiceAccessPoliciesInputBuilder
impl UpdateServiceAccessPoliciesInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<UpdateServiceAccessPoliciesOutput, SdkError<UpdateServiceAccessPoliciesError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<UpdateServiceAccessPoliciesOutput, SdkError<UpdateServiceAccessPoliciesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateServiceAccessPoliciesInputBuilder
impl Clone for UpdateServiceAccessPoliciesInputBuilder
source§fn clone(&self) -> UpdateServiceAccessPoliciesInputBuilder
fn clone(&self) -> UpdateServiceAccessPoliciesInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateServiceAccessPoliciesInputBuilder
impl Default for UpdateServiceAccessPoliciesInputBuilder
source§fn default() -> UpdateServiceAccessPoliciesInputBuilder
fn default() -> UpdateServiceAccessPoliciesInputBuilder
source§impl PartialEq for UpdateServiceAccessPoliciesInputBuilder
impl PartialEq for UpdateServiceAccessPoliciesInputBuilder
source§fn eq(&self, other: &UpdateServiceAccessPoliciesInputBuilder) -> bool
fn eq(&self, other: &UpdateServiceAccessPoliciesInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateServiceAccessPoliciesInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateServiceAccessPoliciesInputBuilder
impl RefUnwindSafe for UpdateServiceAccessPoliciesInputBuilder
impl Send for UpdateServiceAccessPoliciesInputBuilder
impl Sync for UpdateServiceAccessPoliciesInputBuilder
impl Unpin for UpdateServiceAccessPoliciesInputBuilder
impl UnwindSafe for UpdateServiceAccessPoliciesInputBuilder
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