pub struct ServiceAccountBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> ServiceAccountBuilder<S>
impl<S: State> ServiceAccountBuilder<S>
Sourcepub fn build(self) -> ServiceAccountwhere
S: IsComplete,
pub fn build(self) -> ServiceAccountwhere
S: IsComplete,
Finish building and return the requested object
Source§impl ServiceAccountBuilder
impl ServiceAccountBuilder
Sourcepub fn stack_permission_set(self, permission_set: PermissionSet) -> Self
pub fn stack_permission_set(self, permission_set: PermissionSet) -> Self
Adds a stack-level permission set to the service account. Stack-level permissions apply to all resources in the stack.
Auto Trait Implementations§
impl<S> Freeze for ServiceAccountBuilder<S>
impl<S> RefUnwindSafe for ServiceAccountBuilder<S>
impl<S> Send for ServiceAccountBuilder<S>
impl<S> Sync for ServiceAccountBuilder<S>
impl<S> Unpin for ServiceAccountBuilder<S>
impl<S> UnsafeUnpin for ServiceAccountBuilder<S>
impl<S> UnwindSafe for ServiceAccountBuilder<S>
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