#[non_exhaustive]pub struct CreateGrantOutputBuilder { /* private fields */ }Expand description
A builder for CreateGrantOutput.
Implementations§
source§impl CreateGrantOutputBuilder
impl CreateGrantOutputBuilder
sourcepub fn set_grant_arn(self, input: Option<String>) -> Self
pub fn set_grant_arn(self, input: Option<String>) -> Self
Grant ARN.
sourcepub fn get_grant_arn(&self) -> &Option<String>
pub fn get_grant_arn(&self) -> &Option<String>
Grant ARN.
sourcepub fn status(self, input: GrantStatus) -> Self
pub fn status(self, input: GrantStatus) -> Self
Grant status.
sourcepub fn set_status(self, input: Option<GrantStatus>) -> Self
pub fn set_status(self, input: Option<GrantStatus>) -> Self
Grant status.
sourcepub fn get_status(&self) -> &Option<GrantStatus>
pub fn get_status(&self) -> &Option<GrantStatus>
Grant status.
sourcepub fn set_version(self, input: Option<String>) -> Self
pub fn set_version(self, input: Option<String>) -> Self
Grant version.
sourcepub fn get_version(&self) -> &Option<String>
pub fn get_version(&self) -> &Option<String>
Grant version.
sourcepub fn build(self) -> CreateGrantOutput
pub fn build(self) -> CreateGrantOutput
Consumes the builder and constructs a CreateGrantOutput.
Trait Implementations§
source§impl Clone for CreateGrantOutputBuilder
impl Clone for CreateGrantOutputBuilder
source§fn clone(&self) -> CreateGrantOutputBuilder
fn clone(&self) -> CreateGrantOutputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for CreateGrantOutputBuilder
impl Debug for CreateGrantOutputBuilder
source§impl Default for CreateGrantOutputBuilder
impl Default for CreateGrantOutputBuilder
source§fn default() -> CreateGrantOutputBuilder
fn default() -> CreateGrantOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<CreateGrantOutputBuilder> for CreateGrantOutputBuilder
impl PartialEq<CreateGrantOutputBuilder> for CreateGrantOutputBuilder
source§fn eq(&self, other: &CreateGrantOutputBuilder) -> bool
fn eq(&self, other: &CreateGrantOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateGrantOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for CreateGrantOutputBuilder
impl Send for CreateGrantOutputBuilder
impl Sync for CreateGrantOutputBuilder
impl Unpin for CreateGrantOutputBuilder
impl UnwindSafe for CreateGrantOutputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more