Struct aws_sdk_workdocs::operation::describe_resource_permissions::builders::DescribeResourcePermissionsOutputBuilder
source · #[non_exhaustive]pub struct DescribeResourcePermissionsOutputBuilder { /* private fields */ }
Expand description
A builder for DescribeResourcePermissionsOutput
.
Implementations§
source§impl DescribeResourcePermissionsOutputBuilder
impl DescribeResourcePermissionsOutputBuilder
sourcepub fn principals(self, input: Principal) -> Self
pub fn principals(self, input: Principal) -> Self
Appends an item to principals
.
To override the contents of this collection use set_principals
.
The principals.
sourcepub fn set_principals(self, input: Option<Vec<Principal>>) -> Self
pub fn set_principals(self, input: Option<Vec<Principal>>) -> Self
The principals.
sourcepub fn get_principals(&self) -> &Option<Vec<Principal>>
pub fn get_principals(&self) -> &Option<Vec<Principal>>
The principals.
sourcepub fn marker(self, input: impl Into<String>) -> Self
pub fn marker(self, input: impl Into<String>) -> Self
The marker to use when requesting the next set of results. If there are no additional results, the string is empty.
sourcepub fn set_marker(self, input: Option<String>) -> Self
pub fn set_marker(self, input: Option<String>) -> Self
The marker to use when requesting the next set of results. If there are no additional results, the string is empty.
sourcepub fn get_marker(&self) -> &Option<String>
pub fn get_marker(&self) -> &Option<String>
The marker to use when requesting the next set of results. If there are no additional results, the string is empty.
sourcepub fn build(self) -> DescribeResourcePermissionsOutput
pub fn build(self) -> DescribeResourcePermissionsOutput
Consumes the builder and constructs a DescribeResourcePermissionsOutput
.
Trait Implementations§
source§impl Clone for DescribeResourcePermissionsOutputBuilder
impl Clone for DescribeResourcePermissionsOutputBuilder
source§fn clone(&self) -> DescribeResourcePermissionsOutputBuilder
fn clone(&self) -> DescribeResourcePermissionsOutputBuilder
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 DescribeResourcePermissionsOutputBuilder
impl Default for DescribeResourcePermissionsOutputBuilder
source§fn default() -> DescribeResourcePermissionsOutputBuilder
fn default() -> DescribeResourcePermissionsOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DescribeResourcePermissionsOutputBuilder
impl PartialEq for DescribeResourcePermissionsOutputBuilder
source§fn eq(&self, other: &DescribeResourcePermissionsOutputBuilder) -> bool
fn eq(&self, other: &DescribeResourcePermissionsOutputBuilder) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for DescribeResourcePermissionsOutputBuilder
Auto Trait Implementations§
impl Freeze for DescribeResourcePermissionsOutputBuilder
impl RefUnwindSafe for DescribeResourcePermissionsOutputBuilder
impl Send for DescribeResourcePermissionsOutputBuilder
impl Sync for DescribeResourcePermissionsOutputBuilder
impl Unpin for DescribeResourcePermissionsOutputBuilder
impl UnwindSafe for DescribeResourcePermissionsOutputBuilder
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.