Struct aws_sdk_workdocs::input::create_labels_input::Builder   
source · [−]pub struct Builder { /* private fields */ }Expand description
A builder for CreateLabelsInput.
Implementations
sourceimpl Builder
 
impl Builder
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 labels(self, input: impl Into<String>) -> Self
 
pub fn labels(self, input: impl Into<String>) -> Self
Appends an item to labels.
To override the contents of this collection use set_labels.
List of labels to add to the resource.
sourcepub fn set_labels(self, input: Option<Vec<String>>) -> Self
 
pub fn set_labels(self, input: Option<Vec<String>>) -> Self
List of labels to add to the resource.
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 build(self) -> Result<CreateLabelsInput, BuildError>
 
pub fn build(self) -> Result<CreateLabelsInput, BuildError>
Consumes the builder and constructs a CreateLabelsInput.
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