Struct aws_sdk_signer::types::builders::HashAlgorithmOptionsBuilder
source · #[non_exhaustive]pub struct HashAlgorithmOptionsBuilder { /* private fields */ }
Expand description
A builder for HashAlgorithmOptions
.
Implementations§
source§impl HashAlgorithmOptionsBuilder
impl HashAlgorithmOptionsBuilder
sourcepub fn allowed_values(self, input: HashAlgorithm) -> Self
pub fn allowed_values(self, input: HashAlgorithm) -> Self
Appends an item to allowed_values
.
To override the contents of this collection use set_allowed_values
.
The set of accepted hash algorithms allowed in a code-signing job.
sourcepub fn set_allowed_values(self, input: Option<Vec<HashAlgorithm>>) -> Self
pub fn set_allowed_values(self, input: Option<Vec<HashAlgorithm>>) -> Self
The set of accepted hash algorithms allowed in a code-signing job.
sourcepub fn get_allowed_values(&self) -> &Option<Vec<HashAlgorithm>>
pub fn get_allowed_values(&self) -> &Option<Vec<HashAlgorithm>>
The set of accepted hash algorithms allowed in a code-signing job.
sourcepub fn default_value(self, input: HashAlgorithm) -> Self
pub fn default_value(self, input: HashAlgorithm) -> Self
The default hash algorithm that is used in a code-signing job.
This field is required.sourcepub fn set_default_value(self, input: Option<HashAlgorithm>) -> Self
pub fn set_default_value(self, input: Option<HashAlgorithm>) -> Self
The default hash algorithm that is used in a code-signing job.
sourcepub fn get_default_value(&self) -> &Option<HashAlgorithm>
pub fn get_default_value(&self) -> &Option<HashAlgorithm>
The default hash algorithm that is used in a code-signing job.
sourcepub fn build(self) -> Result<HashAlgorithmOptions, BuildError>
pub fn build(self) -> Result<HashAlgorithmOptions, BuildError>
Consumes the builder and constructs a HashAlgorithmOptions
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for HashAlgorithmOptionsBuilder
impl Clone for HashAlgorithmOptionsBuilder
source§fn clone(&self) -> HashAlgorithmOptionsBuilder
fn clone(&self) -> HashAlgorithmOptionsBuilder
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 HashAlgorithmOptionsBuilder
impl Debug for HashAlgorithmOptionsBuilder
source§impl Default for HashAlgorithmOptionsBuilder
impl Default for HashAlgorithmOptionsBuilder
source§fn default() -> HashAlgorithmOptionsBuilder
fn default() -> HashAlgorithmOptionsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for HashAlgorithmOptionsBuilder
impl PartialEq for HashAlgorithmOptionsBuilder
source§fn eq(&self, other: &HashAlgorithmOptionsBuilder) -> bool
fn eq(&self, other: &HashAlgorithmOptionsBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for HashAlgorithmOptionsBuilder
Auto Trait Implementations§
impl Freeze for HashAlgorithmOptionsBuilder
impl RefUnwindSafe for HashAlgorithmOptionsBuilder
impl Send for HashAlgorithmOptionsBuilder
impl Sync for HashAlgorithmOptionsBuilder
impl Unpin for HashAlgorithmOptionsBuilder
impl UnwindSafe for HashAlgorithmOptionsBuilder
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.