#[non_exhaustive]pub struct CreateGrantOutputBuilder { /* private fields */ }
Expand description
A builder for CreateGrantOutput
.
Implementations§
Source§impl CreateGrantOutputBuilder
impl CreateGrantOutputBuilder
Sourcepub fn grant_token(self, input: impl Into<String>) -> Self
pub fn grant_token(self, input: impl Into<String>) -> Self
The grant token.
Use a grant token when your permission to call this operation comes from a new grant that has not yet achieved eventual consistency. For more information, see Grant token and Using a grant token in the Key Management Service Developer Guide.
Sourcepub fn set_grant_token(self, input: Option<String>) -> Self
pub fn set_grant_token(self, input: Option<String>) -> Self
The grant token.
Use a grant token when your permission to call this operation comes from a new grant that has not yet achieved eventual consistency. For more information, see Grant token and Using a grant token in the Key Management Service Developer Guide.
Sourcepub fn get_grant_token(&self) -> &Option<String>
pub fn get_grant_token(&self) -> &Option<String>
The grant token.
Use a grant token when your permission to call this operation comes from a new grant that has not yet achieved eventual consistency. For more information, see Grant token and Using a grant token in the Key Management Service Developer Guide.
Sourcepub fn grant_id(self, input: impl Into<String>) -> Self
pub fn grant_id(self, input: impl Into<String>) -> Self
The unique identifier for the grant.
You can use the GrantId
in a ListGrants
, RetireGrant
, or RevokeGrant
operation.
Sourcepub fn set_grant_id(self, input: Option<String>) -> Self
pub fn set_grant_id(self, input: Option<String>) -> Self
The unique identifier for the grant.
You can use the GrantId
in a ListGrants
, RetireGrant
, or RevokeGrant
operation.
Sourcepub fn get_grant_id(&self) -> &Option<String>
pub fn get_grant_id(&self) -> &Option<String>
The unique identifier for the grant.
You can use the GrantId
in a ListGrants
, RetireGrant
, or RevokeGrant
operation.
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
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
Source§impl PartialEq for CreateGrantOutputBuilder
impl PartialEq for CreateGrantOutputBuilder
impl StructuralPartialEq for CreateGrantOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateGrantOutputBuilder
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more