#[non_exhaustive]pub struct ApplicationCodeConfigurationBuilder { /* private fields */ }Expand description
A builder for ApplicationCodeConfiguration.
Implementations§
source§impl ApplicationCodeConfigurationBuilder
impl ApplicationCodeConfigurationBuilder
sourcepub fn code_content(self, input: CodeContent) -> Self
pub fn code_content(self, input: CodeContent) -> Self
The location and type of the application code.
sourcepub fn set_code_content(self, input: Option<CodeContent>) -> Self
pub fn set_code_content(self, input: Option<CodeContent>) -> Self
The location and type of the application code.
sourcepub fn get_code_content(&self) -> &Option<CodeContent>
pub fn get_code_content(&self) -> &Option<CodeContent>
The location and type of the application code.
sourcepub fn code_content_type(self, input: CodeContentType) -> Self
pub fn code_content_type(self, input: CodeContentType) -> Self
Specifies whether the code content is in text or zip format.
This field is required.sourcepub fn set_code_content_type(self, input: Option<CodeContentType>) -> Self
pub fn set_code_content_type(self, input: Option<CodeContentType>) -> Self
Specifies whether the code content is in text or zip format.
sourcepub fn get_code_content_type(&self) -> &Option<CodeContentType>
pub fn get_code_content_type(&self) -> &Option<CodeContentType>
Specifies whether the code content is in text or zip format.
sourcepub fn build(self) -> Result<ApplicationCodeConfiguration, BuildError>
pub fn build(self) -> Result<ApplicationCodeConfiguration, BuildError>
Consumes the builder and constructs a ApplicationCodeConfiguration.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ApplicationCodeConfigurationBuilder
impl Clone for ApplicationCodeConfigurationBuilder
source§fn clone(&self) -> ApplicationCodeConfigurationBuilder
fn clone(&self) -> ApplicationCodeConfigurationBuilder
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 Default for ApplicationCodeConfigurationBuilder
impl Default for ApplicationCodeConfigurationBuilder
source§fn default() -> ApplicationCodeConfigurationBuilder
fn default() -> ApplicationCodeConfigurationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ApplicationCodeConfigurationBuilder
impl PartialEq for ApplicationCodeConfigurationBuilder
source§fn eq(&self, other: &ApplicationCodeConfigurationBuilder) -> bool
fn eq(&self, other: &ApplicationCodeConfigurationBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ApplicationCodeConfigurationBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ApplicationCodeConfigurationBuilder
impl Send for ApplicationCodeConfigurationBuilder
impl Sync for ApplicationCodeConfigurationBuilder
impl Unpin for ApplicationCodeConfigurationBuilder
impl UnwindSafe for ApplicationCodeConfigurationBuilder
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.