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 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 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