pub struct CreateRoleTokenRequestBuilder { /* private fields */ }
Expand description
Builder for CreateRoleTokenRequest
.
Implementations§
source§impl CreateRoleTokenRequestBuilder
impl CreateRoleTokenRequestBuilder
pub fn role_name<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn display_name<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn entity_alias<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn explicit_max_ttl<VALUE: Into<String>>( &mut self, value: VALUE, ) -> &mut Self
pub fn id<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn lease<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn meta<VALUE: Into<HashMap<String, String>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn no_default_policy<VALUE: Into<bool>>( &mut self, value: VALUE, ) -> &mut Self
pub fn no_parent<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn num_uses<VALUE: Into<u64>>(&mut self, value: VALUE) -> &mut Self
pub fn policies<VALUE: Into<Vec<String>>>(&mut self, value: VALUE) -> &mut Self
pub fn period<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn renewable<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn ttl<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn token_type<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
sourcepub fn build(
&self,
) -> Result<CreateRoleTokenRequest, CreateRoleTokenRequestBuilderError>
pub fn build( &self, ) -> Result<CreateRoleTokenRequest, CreateRoleTokenRequestBuilderError>
Trait Implementations§
source§impl Clone for CreateRoleTokenRequestBuilder
impl Clone for CreateRoleTokenRequestBuilder
source§fn clone(&self) -> CreateRoleTokenRequestBuilder
fn clone(&self) -> CreateRoleTokenRequestBuilder
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 moreAuto Trait Implementations§
impl Freeze for CreateRoleTokenRequestBuilder
impl RefUnwindSafe for CreateRoleTokenRequestBuilder
impl Send for CreateRoleTokenRequestBuilder
impl Sync for CreateRoleTokenRequestBuilder
impl Unpin for CreateRoleTokenRequestBuilder
impl UnwindSafe for CreateRoleTokenRequestBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)