pub struct SetTokenRoleRequestBuilder { /* private fields */ }
Expand description
Builder for SetTokenRoleRequest
.
Implementations§
Source§impl SetTokenRoleRequestBuilder
impl SetTokenRoleRequestBuilder
pub fn role_name<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn allowed_entity_aliases<VALUE: Into<Vec<String>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn allowed_policies<VALUE: Into<Vec<String>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn disallowed_policies<VALUE: Into<Vec<String>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn orphan<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn path_suffix<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn renewable<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn token_bound_cidrs<VALUE: Into<Vec<String>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn token_explicit_max_ttl<VALUE: Into<String>>( &mut self, value: VALUE, ) -> &mut Self
pub fn token_no_default_policy<VALUE: Into<bool>>( &mut self, value: VALUE, ) -> &mut Self
pub fn token_num_uses<VALUE: Into<u64>>(&mut self, value: VALUE) -> &mut Self
pub fn token_period<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<SetTokenRoleRequest, SetTokenRoleRequestBuilderError>
pub fn build( &self, ) -> Result<SetTokenRoleRequest, SetTokenRoleRequestBuilderError>
Trait Implementations§
Source§impl Clone for SetTokenRoleRequestBuilder
impl Clone for SetTokenRoleRequestBuilder
Source§fn clone(&self) -> SetTokenRoleRequestBuilder
fn clone(&self) -> SetTokenRoleRequestBuilder
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 SetTokenRoleRequestBuilder
impl RefUnwindSafe for SetTokenRoleRequestBuilder
impl Send for SetTokenRoleRequestBuilder
impl Sync for SetTokenRoleRequestBuilder
impl Unpin for SetTokenRoleRequestBuilder
impl UnwindSafe for SetTokenRoleRequestBuilder
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