Struct aws_sdk_codecommit::types::builders::ApprovalBuilder
source · #[non_exhaustive]pub struct ApprovalBuilder { /* private fields */ }Expand description
A builder for Approval.
Implementations§
source§impl ApprovalBuilder
impl ApprovalBuilder
sourcepub fn user_arn(self, input: impl Into<String>) -> Self
pub fn user_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the user.
sourcepub fn set_user_arn(self, input: Option<String>) -> Self
pub fn set_user_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the user.
sourcepub fn get_user_arn(&self) -> &Option<String>
pub fn get_user_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the user.
sourcepub fn approval_state(self, input: ApprovalState) -> Self
pub fn approval_state(self, input: ApprovalState) -> Self
The state of the approval, APPROVE or REVOKE. REVOKE states are not stored.
sourcepub fn set_approval_state(self, input: Option<ApprovalState>) -> Self
pub fn set_approval_state(self, input: Option<ApprovalState>) -> Self
The state of the approval, APPROVE or REVOKE. REVOKE states are not stored.
sourcepub fn get_approval_state(&self) -> &Option<ApprovalState>
pub fn get_approval_state(&self) -> &Option<ApprovalState>
The state of the approval, APPROVE or REVOKE. REVOKE states are not stored.
Trait Implementations§
source§impl Clone for ApprovalBuilder
impl Clone for ApprovalBuilder
source§fn clone(&self) -> ApprovalBuilder
fn clone(&self) -> ApprovalBuilder
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 moresource§impl Debug for ApprovalBuilder
impl Debug for ApprovalBuilder
source§impl Default for ApprovalBuilder
impl Default for ApprovalBuilder
source§fn default() -> ApprovalBuilder
fn default() -> ApprovalBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ApprovalBuilder
impl PartialEq for ApprovalBuilder
source§fn eq(&self, other: &ApprovalBuilder) -> bool
fn eq(&self, other: &ApprovalBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ApprovalBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ApprovalBuilder
impl Send for ApprovalBuilder
impl Sync for ApprovalBuilder
impl Unpin for ApprovalBuilder
impl UnwindSafe for ApprovalBuilder
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.