pub struct Builder { /* private fields */ }Expand description
A builder for AddResourcePermissionsInput.
Implementations
sourceimpl Builder
 
impl Builder
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 AWS 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 AWS 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.
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 principals(self, input: SharePrincipal) -> Self
 
pub fn principals(self, input: SharePrincipal) -> Self
Appends an item to principals.
To override the contents of this collection use set_principals.
The users, groups, or organization being granted permission.
sourcepub fn set_principals(self, input: Option<Vec<SharePrincipal>>) -> Self
 
pub fn set_principals(self, input: Option<Vec<SharePrincipal>>) -> Self
The users, groups, or organization being granted permission.
sourcepub fn notification_options(self, input: NotificationOptions) -> Self
 
pub fn notification_options(self, input: NotificationOptions) -> Self
The notification options.
sourcepub fn set_notification_options(self, input: Option<NotificationOptions>) -> Self
 
pub fn set_notification_options(self, input: Option<NotificationOptions>) -> Self
The notification options.
sourcepub fn build(self) -> Result<AddResourcePermissionsInput, BuildError>
 
pub fn build(self) -> Result<AddResourcePermissionsInput, BuildError>
Consumes the builder and constructs a AddResourcePermissionsInput.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more