#[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
source§fn eq(&self, other: &CreateGrantOutputBuilder) -> bool
fn eq(&self, other: &CreateGrantOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.