Struct aws_sdk_opensearchserverless::operation::get_access_policy::builders::GetAccessPolicyInputBuilder
source · #[non_exhaustive]pub struct GetAccessPolicyInputBuilder { /* private fields */ }
Expand description
A builder for GetAccessPolicyInput
.
Implementations§
source§impl GetAccessPolicyInputBuilder
impl GetAccessPolicyInputBuilder
sourcepub fn type(self, input: AccessPolicyType) -> Self
pub fn type(self, input: AccessPolicyType) -> Self
Tye type of policy. Currently, the only supported value is data
.
sourcepub fn set_type(self, input: Option<AccessPolicyType>) -> Self
pub fn set_type(self, input: Option<AccessPolicyType>) -> Self
Tye type of policy. Currently, the only supported value is data
.
sourcepub fn get_type(&self) -> &Option<AccessPolicyType>
pub fn get_type(&self) -> &Option<AccessPolicyType>
Tye type of policy. Currently, the only supported value is data
.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the access policy.
This field is required.sourcepub fn build(self) -> Result<GetAccessPolicyInput, BuildError>
pub fn build(self) -> Result<GetAccessPolicyInput, BuildError>
Consumes the builder and constructs a GetAccessPolicyInput
.
source§impl GetAccessPolicyInputBuilder
impl GetAccessPolicyInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<GetAccessPolicyOutput, SdkError<GetAccessPolicyError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<GetAccessPolicyOutput, SdkError<GetAccessPolicyError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetAccessPolicyInputBuilder
impl Clone for GetAccessPolicyInputBuilder
source§fn clone(&self) -> GetAccessPolicyInputBuilder
fn clone(&self) -> GetAccessPolicyInputBuilder
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 Debug for GetAccessPolicyInputBuilder
impl Debug for GetAccessPolicyInputBuilder
source§impl Default for GetAccessPolicyInputBuilder
impl Default for GetAccessPolicyInputBuilder
source§fn default() -> GetAccessPolicyInputBuilder
fn default() -> GetAccessPolicyInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetAccessPolicyInputBuilder
impl PartialEq for GetAccessPolicyInputBuilder
source§fn eq(&self, other: &GetAccessPolicyInputBuilder) -> bool
fn eq(&self, other: &GetAccessPolicyInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetAccessPolicyInputBuilder
Auto Trait Implementations§
impl Freeze for GetAccessPolicyInputBuilder
impl RefUnwindSafe for GetAccessPolicyInputBuilder
impl Send for GetAccessPolicyInputBuilder
impl Sync for GetAccessPolicyInputBuilder
impl Unpin for GetAccessPolicyInputBuilder
impl UnwindSafe for GetAccessPolicyInputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.