Struct aws_sdk_ssm::operation::describe_document_permission::builders::DescribeDocumentPermissionOutputBuilder
source · #[non_exhaustive]pub struct DescribeDocumentPermissionOutputBuilder { /* private fields */ }Expand description
A builder for DescribeDocumentPermissionOutput.
Implementations§
source§impl DescribeDocumentPermissionOutputBuilder
impl DescribeDocumentPermissionOutputBuilder
sourcepub fn account_ids(self, input: impl Into<String>) -> Self
pub fn account_ids(self, input: impl Into<String>) -> Self
Appends an item to account_ids.
To override the contents of this collection use set_account_ids.
The account IDs that have permission to use this document. The ID can be either an Amazon Web Services account or All.
sourcepub fn set_account_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_account_ids(self, input: Option<Vec<String>>) -> Self
The account IDs that have permission to use this document. The ID can be either an Amazon Web Services account or All.
sourcepub fn get_account_ids(&self) -> &Option<Vec<String>>
pub fn get_account_ids(&self) -> &Option<Vec<String>>
The account IDs that have permission to use this document. The ID can be either an Amazon Web Services account or All.
sourcepub fn account_sharing_info_list(self, input: AccountSharingInfo) -> Self
pub fn account_sharing_info_list(self, input: AccountSharingInfo) -> Self
Appends an item to account_sharing_info_list.
To override the contents of this collection use set_account_sharing_info_list.
A list of Amazon Web Services accounts where the current document is shared and the version shared with each account.
sourcepub fn set_account_sharing_info_list(
self,
input: Option<Vec<AccountSharingInfo>>
) -> Self
pub fn set_account_sharing_info_list( self, input: Option<Vec<AccountSharingInfo>> ) -> Self
A list of Amazon Web Services accounts where the current document is shared and the version shared with each account.
sourcepub fn get_account_sharing_info_list(&self) -> &Option<Vec<AccountSharingInfo>>
pub fn get_account_sharing_info_list(&self) -> &Option<Vec<AccountSharingInfo>>
A list of Amazon Web Services accounts where the current document is shared and the version shared with each account.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token for the next set of items to return. Use this token to get the next set of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token for the next set of items to return. Use this token to get the next set of results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token for the next set of items to return. Use this token to get the next set of results.
sourcepub fn build(self) -> DescribeDocumentPermissionOutput
pub fn build(self) -> DescribeDocumentPermissionOutput
Consumes the builder and constructs a DescribeDocumentPermissionOutput.
Trait Implementations§
source§impl Clone for DescribeDocumentPermissionOutputBuilder
impl Clone for DescribeDocumentPermissionOutputBuilder
source§fn clone(&self) -> DescribeDocumentPermissionOutputBuilder
fn clone(&self) -> DescribeDocumentPermissionOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for DescribeDocumentPermissionOutputBuilder
impl Default for DescribeDocumentPermissionOutputBuilder
source§fn default() -> DescribeDocumentPermissionOutputBuilder
fn default() -> DescribeDocumentPermissionOutputBuilder
source§impl PartialEq<DescribeDocumentPermissionOutputBuilder> for DescribeDocumentPermissionOutputBuilder
impl PartialEq<DescribeDocumentPermissionOutputBuilder> for DescribeDocumentPermissionOutputBuilder
source§fn eq(&self, other: &DescribeDocumentPermissionOutputBuilder) -> bool
fn eq(&self, other: &DescribeDocumentPermissionOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.