Struct aws_sdk_lambda::types::builders::AllowedPublishersBuilder
source · #[non_exhaustive]pub struct AllowedPublishersBuilder { /* private fields */ }
Expand description
A builder for AllowedPublishers
.
Implementations§
source§impl AllowedPublishersBuilder
impl AllowedPublishersBuilder
sourcepub fn signing_profile_version_arns(self, input: impl Into<String>) -> Self
pub fn signing_profile_version_arns(self, input: impl Into<String>) -> Self
Appends an item to signing_profile_version_arns
.
To override the contents of this collection use set_signing_profile_version_arns
.
The Amazon Resource Name (ARN) for each of the signing profiles. A signing profile defines a trusted user who can sign a code package.
sourcepub fn set_signing_profile_version_arns(
self,
input: Option<Vec<String>>
) -> Self
pub fn set_signing_profile_version_arns( self, input: Option<Vec<String>> ) -> Self
The Amazon Resource Name (ARN) for each of the signing profiles. A signing profile defines a trusted user who can sign a code package.
sourcepub fn get_signing_profile_version_arns(&self) -> &Option<Vec<String>>
pub fn get_signing_profile_version_arns(&self) -> &Option<Vec<String>>
The Amazon Resource Name (ARN) for each of the signing profiles. A signing profile defines a trusted user who can sign a code package.
sourcepub fn build(self) -> Result<AllowedPublishers, BuildError>
pub fn build(self) -> Result<AllowedPublishers, BuildError>
Consumes the builder and constructs a AllowedPublishers
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for AllowedPublishersBuilder
impl Clone for AllowedPublishersBuilder
source§fn clone(&self) -> AllowedPublishersBuilder
fn clone(&self) -> AllowedPublishersBuilder
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 AllowedPublishersBuilder
impl Debug for AllowedPublishersBuilder
source§impl Default for AllowedPublishersBuilder
impl Default for AllowedPublishersBuilder
source§fn default() -> AllowedPublishersBuilder
fn default() -> AllowedPublishersBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AllowedPublishersBuilder
impl PartialEq for AllowedPublishersBuilder
source§fn eq(&self, other: &AllowedPublishersBuilder) -> bool
fn eq(&self, other: &AllowedPublishersBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AllowedPublishersBuilder
Auto Trait Implementations§
impl Freeze for AllowedPublishersBuilder
impl RefUnwindSafe for AllowedPublishersBuilder
impl Send for AllowedPublishersBuilder
impl Sync for AllowedPublishersBuilder
impl Unpin for AllowedPublishersBuilder
impl UnwindSafe for AllowedPublishersBuilder
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.