pub struct WorkloadIdentityBuilder { /* private fields */ }
Expand description
Builder for WorkloadIdentity
.
Implementations§
Source§impl WorkloadIdentityBuilder
impl WorkloadIdentityBuilder
pub fn name(&mut self, value: String) -> &mut Self
pub fn audience(&mut self, value: Option<Vec<String>>) -> &mut Self
pub fn change_mode(&mut self, value: Option<String>) -> &mut Self
pub fn change_signal(&mut self, value: Option<String>) -> &mut Self
pub fn env(&mut self, value: bool) -> &mut Self
pub fn file(&mut self, value: bool) -> &mut Self
pub fn filepath(&mut self, value: String) -> &mut Self
pub fn service_name(&mut self, value: String) -> &mut Self
pub fn ttl(&mut self, value: Option<TimeDelta>) -> &mut Self
Sourcepub fn build(&self) -> Result<WorkloadIdentity, WorkloadIdentityBuilderError>
pub fn build(&self) -> Result<WorkloadIdentity, WorkloadIdentityBuilderError>
Trait Implementations§
Source§impl Clone for WorkloadIdentityBuilder
impl Clone for WorkloadIdentityBuilder
Source§fn clone(&self) -> WorkloadIdentityBuilder
fn clone(&self) -> WorkloadIdentityBuilder
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 WorkloadIdentityBuilder
impl RefUnwindSafe for WorkloadIdentityBuilder
impl Send for WorkloadIdentityBuilder
impl Sync for WorkloadIdentityBuilder
impl Unpin for WorkloadIdentityBuilder
impl UnwindSafe for WorkloadIdentityBuilder
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