#[non_exhaustive]pub struct CodeContentBuilder { /* private fields */ }Expand description
A builder for CodeContent.
Implementations§
source§impl CodeContentBuilder
impl CodeContentBuilder
sourcepub fn text_content(self, input: impl Into<String>) -> Self
pub fn text_content(self, input: impl Into<String>) -> Self
The text-format code for a Flink-based Kinesis Data Analytics application.
sourcepub fn set_text_content(self, input: Option<String>) -> Self
pub fn set_text_content(self, input: Option<String>) -> Self
The text-format code for a Flink-based Kinesis Data Analytics application.
sourcepub fn get_text_content(&self) -> &Option<String>
pub fn get_text_content(&self) -> &Option<String>
The text-format code for a Flink-based Kinesis Data Analytics application.
sourcepub fn zip_file_content(self, input: Blob) -> Self
pub fn zip_file_content(self, input: Blob) -> Self
The zip-format code for a Flink-based Kinesis Data Analytics application.
sourcepub fn set_zip_file_content(self, input: Option<Blob>) -> Self
pub fn set_zip_file_content(self, input: Option<Blob>) -> Self
The zip-format code for a Flink-based Kinesis Data Analytics application.
sourcepub fn get_zip_file_content(&self) -> &Option<Blob>
pub fn get_zip_file_content(&self) -> &Option<Blob>
The zip-format code for a Flink-based Kinesis Data Analytics application.
sourcepub fn s3_content_location(self, input: S3ContentLocation) -> Self
pub fn s3_content_location(self, input: S3ContentLocation) -> Self
Information about the Amazon S3 bucket that contains the application code.
sourcepub fn set_s3_content_location(self, input: Option<S3ContentLocation>) -> Self
pub fn set_s3_content_location(self, input: Option<S3ContentLocation>) -> Self
Information about the Amazon S3 bucket that contains the application code.
sourcepub fn get_s3_content_location(&self) -> &Option<S3ContentLocation>
pub fn get_s3_content_location(&self) -> &Option<S3ContentLocation>
Information about the Amazon S3 bucket that contains the application code.
sourcepub fn build(self) -> CodeContent
pub fn build(self) -> CodeContent
Consumes the builder and constructs a CodeContent.
Trait Implementations§
source§impl Clone for CodeContentBuilder
impl Clone for CodeContentBuilder
source§fn clone(&self) -> CodeContentBuilder
fn clone(&self) -> CodeContentBuilder
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 CodeContentBuilder
impl Debug for CodeContentBuilder
source§impl Default for CodeContentBuilder
impl Default for CodeContentBuilder
source§fn default() -> CodeContentBuilder
fn default() -> CodeContentBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CodeContentBuilder
impl PartialEq for CodeContentBuilder
source§fn eq(&self, other: &CodeContentBuilder) -> bool
fn eq(&self, other: &CodeContentBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CodeContentBuilder
Auto Trait Implementations§
impl RefUnwindSafe for CodeContentBuilder
impl Send for CodeContentBuilder
impl Sync for CodeContentBuilder
impl Unpin for CodeContentBuilder
impl UnwindSafe for CodeContentBuilder
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.