Struct aws_sdk_signer::types::builders::SigningImageFormatBuilder
source · #[non_exhaustive]pub struct SigningImageFormatBuilder { /* private fields */ }
Expand description
A builder for SigningImageFormat
.
Implementations§
source§impl SigningImageFormatBuilder
impl SigningImageFormatBuilder
sourcepub fn supported_formats(self, input: ImageFormat) -> Self
pub fn supported_formats(self, input: ImageFormat) -> Self
Appends an item to supported_formats
.
To override the contents of this collection use set_supported_formats
.
The supported formats of a signing image.
sourcepub fn set_supported_formats(self, input: Option<Vec<ImageFormat>>) -> Self
pub fn set_supported_formats(self, input: Option<Vec<ImageFormat>>) -> Self
The supported formats of a signing image.
sourcepub fn get_supported_formats(&self) -> &Option<Vec<ImageFormat>>
pub fn get_supported_formats(&self) -> &Option<Vec<ImageFormat>>
The supported formats of a signing image.
sourcepub fn default_format(self, input: ImageFormat) -> Self
pub fn default_format(self, input: ImageFormat) -> Self
The default format of a signing image.
This field is required.sourcepub fn set_default_format(self, input: Option<ImageFormat>) -> Self
pub fn set_default_format(self, input: Option<ImageFormat>) -> Self
The default format of a signing image.
sourcepub fn get_default_format(&self) -> &Option<ImageFormat>
pub fn get_default_format(&self) -> &Option<ImageFormat>
The default format of a signing image.
sourcepub fn build(self) -> Result<SigningImageFormat, BuildError>
pub fn build(self) -> Result<SigningImageFormat, BuildError>
Consumes the builder and constructs a SigningImageFormat
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for SigningImageFormatBuilder
impl Clone for SigningImageFormatBuilder
source§fn clone(&self) -> SigningImageFormatBuilder
fn clone(&self) -> SigningImageFormatBuilder
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 SigningImageFormatBuilder
impl Debug for SigningImageFormatBuilder
source§impl Default for SigningImageFormatBuilder
impl Default for SigningImageFormatBuilder
source§fn default() -> SigningImageFormatBuilder
fn default() -> SigningImageFormatBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for SigningImageFormatBuilder
impl PartialEq for SigningImageFormatBuilder
source§fn eq(&self, other: &SigningImageFormatBuilder) -> bool
fn eq(&self, other: &SigningImageFormatBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SigningImageFormatBuilder
Auto Trait Implementations§
impl Freeze for SigningImageFormatBuilder
impl RefUnwindSafe for SigningImageFormatBuilder
impl Send for SigningImageFormatBuilder
impl Sync for SigningImageFormatBuilder
impl Unpin for SigningImageFormatBuilder
impl UnwindSafe for SigningImageFormatBuilder
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.