#[non_exhaustive]pub struct ImageConfigurationBuilder { /* private fields */ }
Expand description
A builder for ImageConfiguration
.
Implementations§
source§impl ImageConfigurationBuilder
impl ImageConfigurationBuilder
sourcepub fn image_uri(self, input: impl Into<String>) -> Self
pub fn image_uri(self, input: impl Into<String>) -> Self
The image URI.
This field is required.sourcepub fn set_image_uri(self, input: Option<String>) -> Self
pub fn set_image_uri(self, input: Option<String>) -> Self
The image URI.
sourcepub fn get_image_uri(&self) -> &Option<String>
pub fn get_image_uri(&self) -> &Option<String>
The image URI.
sourcepub fn resolved_image_digest(self, input: impl Into<String>) -> Self
pub fn resolved_image_digest(self, input: impl Into<String>) -> Self
The SHA256 digest of the image URI. This indicates which specific image the application is configured for. The image digest doesn't exist until an application has started.
sourcepub fn set_resolved_image_digest(self, input: Option<String>) -> Self
pub fn set_resolved_image_digest(self, input: Option<String>) -> Self
The SHA256 digest of the image URI. This indicates which specific image the application is configured for. The image digest doesn't exist until an application has started.
sourcepub fn get_resolved_image_digest(&self) -> &Option<String>
pub fn get_resolved_image_digest(&self) -> &Option<String>
The SHA256 digest of the image URI. This indicates which specific image the application is configured for. The image digest doesn't exist until an application has started.
sourcepub fn build(self) -> Result<ImageConfiguration, BuildError>
pub fn build(self) -> Result<ImageConfiguration, BuildError>
Consumes the builder and constructs a ImageConfiguration
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ImageConfigurationBuilder
impl Clone for ImageConfigurationBuilder
source§fn clone(&self) -> ImageConfigurationBuilder
fn clone(&self) -> ImageConfigurationBuilder
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 ImageConfigurationBuilder
impl Debug for ImageConfigurationBuilder
source§impl Default for ImageConfigurationBuilder
impl Default for ImageConfigurationBuilder
source§fn default() -> ImageConfigurationBuilder
fn default() -> ImageConfigurationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ImageConfigurationBuilder
impl PartialEq for ImageConfigurationBuilder
source§fn eq(&self, other: &ImageConfigurationBuilder) -> bool
fn eq(&self, other: &ImageConfigurationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ImageConfigurationBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ImageConfigurationBuilder
impl Send for ImageConfigurationBuilder
impl Sync for ImageConfigurationBuilder
impl Unpin for ImageConfigurationBuilder
impl UnwindSafe for ImageConfigurationBuilder
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.