#[non_exhaustive]pub struct CreatePermissionOutputBuilder { /* private fields */ }Expand description
A builder for CreatePermissionOutput.
Implementations§
source§impl CreatePermissionOutputBuilder
impl CreatePermissionOutputBuilder
sourcepub fn permission(self, input: ResourceSharePermissionSummary) -> Self
pub fn permission(self, input: ResourceSharePermissionSummary) -> Self
A structure with information about this customer managed permission.
sourcepub fn set_permission(
self,
input: Option<ResourceSharePermissionSummary>
) -> Self
pub fn set_permission( self, input: Option<ResourceSharePermissionSummary> ) -> Self
A structure with information about this customer managed permission.
sourcepub fn get_permission(&self) -> &Option<ResourceSharePermissionSummary>
pub fn get_permission(&self) -> &Option<ResourceSharePermissionSummary>
A structure with information about this customer managed permission.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
The idempotency identifier associated with this request. If you want to repeat the same operation in an idempotent manner then you must include this value in the clientToken request parameter of that later call. All other parameters must also have the same values that you used in the first call.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
The idempotency identifier associated with this request. If you want to repeat the same operation in an idempotent manner then you must include this value in the clientToken request parameter of that later call. All other parameters must also have the same values that you used in the first call.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
The idempotency identifier associated with this request. If you want to repeat the same operation in an idempotent manner then you must include this value in the clientToken request parameter of that later call. All other parameters must also have the same values that you used in the first call.
sourcepub fn build(self) -> CreatePermissionOutput
pub fn build(self) -> CreatePermissionOutput
Consumes the builder and constructs a CreatePermissionOutput.
Trait Implementations§
source§impl Clone for CreatePermissionOutputBuilder
impl Clone for CreatePermissionOutputBuilder
source§fn clone(&self) -> CreatePermissionOutputBuilder
fn clone(&self) -> CreatePermissionOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for CreatePermissionOutputBuilder
impl Default for CreatePermissionOutputBuilder
source§fn default() -> CreatePermissionOutputBuilder
fn default() -> CreatePermissionOutputBuilder
source§impl PartialEq for CreatePermissionOutputBuilder
impl PartialEq for CreatePermissionOutputBuilder
source§fn eq(&self, other: &CreatePermissionOutputBuilder) -> bool
fn eq(&self, other: &CreatePermissionOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.