pub struct CreateKubernetesRoleRequestBuilder { /* private fields */ }
Expand description
Builder for CreateKubernetesRoleRequest
.
Implementations§
source§impl CreateKubernetesRoleRequestBuilder
impl CreateKubernetesRoleRequestBuilder
pub fn mount<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn name<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn bound_service_account_names<VALUE: Into<Vec<String>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn bound_service_account_namespaces<VALUE: Into<Vec<String>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn audience<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn token_ttl<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn token_max_ttl<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn token_policies<VALUE: Into<Vec<String>>>( &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<CreateKubernetesRoleRequest, CreateKubernetesRoleRequestBuilderError>
pub fn build( &self, ) -> Result<CreateKubernetesRoleRequest, CreateKubernetesRoleRequestBuilderError>
Trait Implementations§
source§impl Clone for CreateKubernetesRoleRequestBuilder
impl Clone for CreateKubernetesRoleRequestBuilder
source§fn clone(&self) -> CreateKubernetesRoleRequestBuilder
fn clone(&self) -> CreateKubernetesRoleRequestBuilder
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 CreateKubernetesRoleRequestBuilder
impl RefUnwindSafe for CreateKubernetesRoleRequestBuilder
impl Send for CreateKubernetesRoleRequestBuilder
impl Sync for CreateKubernetesRoleRequestBuilder
impl Unpin for CreateKubernetesRoleRequestBuilder
impl UnwindSafe for CreateKubernetesRoleRequestBuilder
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
)