Struct aws_sdk_repostspace::operation::deregister_admin::builders::DeregisterAdminInputBuilder
source · #[non_exhaustive]pub struct DeregisterAdminInputBuilder { /* private fields */ }Expand description
A builder for DeregisterAdminInput.
Implementations§
source§impl DeregisterAdminInputBuilder
impl DeregisterAdminInputBuilder
sourcepub fn space_id(self, input: impl Into<String>) -> Self
pub fn space_id(self, input: impl Into<String>) -> Self
The ID of the private re:Post to remove the admin from.
This field is required.sourcepub fn set_space_id(self, input: Option<String>) -> Self
pub fn set_space_id(self, input: Option<String>) -> Self
The ID of the private re:Post to remove the admin from.
sourcepub fn get_space_id(&self) -> &Option<String>
pub fn get_space_id(&self) -> &Option<String>
The ID of the private re:Post to remove the admin from.
sourcepub fn admin_id(self, input: impl Into<String>) -> Self
pub fn admin_id(self, input: impl Into<String>) -> Self
The ID of the admin to remove.
This field is required.sourcepub fn set_admin_id(self, input: Option<String>) -> Self
pub fn set_admin_id(self, input: Option<String>) -> Self
The ID of the admin to remove.
sourcepub fn get_admin_id(&self) -> &Option<String>
pub fn get_admin_id(&self) -> &Option<String>
The ID of the admin to remove.
sourcepub fn build(self) -> Result<DeregisterAdminInput, BuildError>
pub fn build(self) -> Result<DeregisterAdminInput, BuildError>
Consumes the builder and constructs a DeregisterAdminInput.
source§impl DeregisterAdminInputBuilder
impl DeregisterAdminInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DeregisterAdminOutput, SdkError<DeregisterAdminError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DeregisterAdminOutput, SdkError<DeregisterAdminError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DeregisterAdminInputBuilder
impl Clone for DeregisterAdminInputBuilder
source§fn clone(&self) -> DeregisterAdminInputBuilder
fn clone(&self) -> DeregisterAdminInputBuilder
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 DeregisterAdminInputBuilder
impl Debug for DeregisterAdminInputBuilder
source§impl Default for DeregisterAdminInputBuilder
impl Default for DeregisterAdminInputBuilder
source§fn default() -> DeregisterAdminInputBuilder
fn default() -> DeregisterAdminInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DeregisterAdminInputBuilder
impl PartialEq for DeregisterAdminInputBuilder
source§fn eq(&self, other: &DeregisterAdminInputBuilder) -> bool
fn eq(&self, other: &DeregisterAdminInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DeregisterAdminInputBuilder
Auto Trait Implementations§
impl Freeze for DeregisterAdminInputBuilder
impl RefUnwindSafe for DeregisterAdminInputBuilder
impl Send for DeregisterAdminInputBuilder
impl Sync for DeregisterAdminInputBuilder
impl Unpin for DeregisterAdminInputBuilder
impl UnwindSafe for DeregisterAdminInputBuilder
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.