pub struct Builder { /* private fields */ }Expand description
A builder for CreateFolderMembershipInput.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn aws_account_id(self, input: impl Into<String>) -> Self
pub fn aws_account_id(self, input: impl Into<String>) -> Self
The ID for the Amazon Web Services account that contains the folder.
sourcepub fn set_aws_account_id(self, input: Option<String>) -> Self
pub fn set_aws_account_id(self, input: Option<String>) -> Self
The ID for the Amazon Web Services account that contains the folder.
sourcepub fn set_folder_id(self, input: Option<String>) -> Self
pub fn set_folder_id(self, input: Option<String>) -> Self
The ID of the folder.
sourcepub fn member_id(self, input: impl Into<String>) -> Self
pub fn member_id(self, input: impl Into<String>) -> Self
The ID of the asset (the dashboard, analysis, or dataset).
sourcepub fn set_member_id(self, input: Option<String>) -> Self
pub fn set_member_id(self, input: Option<String>) -> Self
The ID of the asset (the dashboard, analysis, or dataset).
sourcepub fn member_type(self, input: MemberType) -> Self
pub fn member_type(self, input: MemberType) -> Self
The type of the member, including DASHBOARD, ANALYSIS, and DATASET.
sourcepub fn set_member_type(self, input: Option<MemberType>) -> Self
pub fn set_member_type(self, input: Option<MemberType>) -> Self
The type of the member, including DASHBOARD, ANALYSIS, and DATASET.
sourcepub fn build(self) -> Result<CreateFolderMembershipInput, BuildError>
pub fn build(self) -> Result<CreateFolderMembershipInput, BuildError>
Consumes the builder and constructs a CreateFolderMembershipInput.
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