Struct aws_sdk_workdocs::operation::remove_all_resource_permissions::builders::RemoveAllResourcePermissionsInputBuilder
source · #[non_exhaustive]pub struct RemoveAllResourcePermissionsInputBuilder { /* private fields */ }
Expand description
A builder for RemoveAllResourcePermissionsInput
.
Implementations§
source§impl RemoveAllResourcePermissionsInputBuilder
impl RemoveAllResourcePermissionsInputBuilder
sourcepub fn authentication_token(self, input: impl Into<String>) -> Self
pub fn authentication_token(self, input: impl Into<String>) -> Self
Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
sourcepub fn set_authentication_token(self, input: Option<String>) -> Self
pub fn set_authentication_token(self, input: Option<String>) -> Self
Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
sourcepub fn get_authentication_token(&self) -> &Option<String>
pub fn get_authentication_token(&self) -> &Option<String>
Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
sourcepub fn resource_id(self, input: impl Into<String>) -> Self
pub fn resource_id(self, input: impl Into<String>) -> Self
The ID of the resource.
This field is required.sourcepub fn set_resource_id(self, input: Option<String>) -> Self
pub fn set_resource_id(self, input: Option<String>) -> Self
The ID of the resource.
sourcepub fn get_resource_id(&self) -> &Option<String>
pub fn get_resource_id(&self) -> &Option<String>
The ID of the resource.
sourcepub fn build(self) -> Result<RemoveAllResourcePermissionsInput, BuildError>
pub fn build(self) -> Result<RemoveAllResourcePermissionsInput, BuildError>
Consumes the builder and constructs a RemoveAllResourcePermissionsInput
.
source§impl RemoveAllResourcePermissionsInputBuilder
impl RemoveAllResourcePermissionsInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<RemoveAllResourcePermissionsOutput, SdkError<RemoveAllResourcePermissionsError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<RemoveAllResourcePermissionsOutput, SdkError<RemoveAllResourcePermissionsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for RemoveAllResourcePermissionsInputBuilder
impl Clone for RemoveAllResourcePermissionsInputBuilder
source§fn clone(&self) -> RemoveAllResourcePermissionsInputBuilder
fn clone(&self) -> RemoveAllResourcePermissionsInputBuilder
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 Default for RemoveAllResourcePermissionsInputBuilder
impl Default for RemoveAllResourcePermissionsInputBuilder
source§fn default() -> RemoveAllResourcePermissionsInputBuilder
fn default() -> RemoveAllResourcePermissionsInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for RemoveAllResourcePermissionsInputBuilder
impl PartialEq for RemoveAllResourcePermissionsInputBuilder
source§fn eq(&self, other: &RemoveAllResourcePermissionsInputBuilder) -> bool
fn eq(&self, other: &RemoveAllResourcePermissionsInputBuilder) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for RemoveAllResourcePermissionsInputBuilder
Auto Trait Implementations§
impl Freeze for RemoveAllResourcePermissionsInputBuilder
impl RefUnwindSafe for RemoveAllResourcePermissionsInputBuilder
impl Send for RemoveAllResourcePermissionsInputBuilder
impl Sync for RemoveAllResourcePermissionsInputBuilder
impl Unpin for RemoveAllResourcePermissionsInputBuilder
impl UnwindSafe for RemoveAllResourcePermissionsInputBuilder
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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.