Struct aws_sdk_kinesisanalyticsv2::types::CodeContent
source · #[non_exhaustive]pub struct CodeContent {
pub text_content: Option<String>,
pub zip_file_content: Option<Blob>,
pub s3_content_location: Option<S3ContentLocation>,
}Expand description
Specifies either the application code, or the location of the application code, for a Flink-based Kinesis Data Analytics application.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.text_content: Option<String>The text-format code for a Flink-based Kinesis Data Analytics application.
zip_file_content: Option<Blob>The zip-format code for a Flink-based Kinesis Data Analytics application.
s3_content_location: Option<S3ContentLocation>Information about the Amazon S3 bucket that contains the application code.
Implementations§
source§impl CodeContent
impl CodeContent
sourcepub fn text_content(&self) -> Option<&str>
pub fn text_content(&self) -> Option<&str>
The text-format code for a Flink-based Kinesis Data Analytics application.
sourcepub fn zip_file_content(&self) -> Option<&Blob>
pub fn zip_file_content(&self) -> Option<&Blob>
The zip-format code for a Flink-based Kinesis Data Analytics application.
sourcepub fn s3_content_location(&self) -> Option<&S3ContentLocation>
pub fn s3_content_location(&self) -> Option<&S3ContentLocation>
Information about the Amazon S3 bucket that contains the application code.
source§impl CodeContent
impl CodeContent
sourcepub fn builder() -> CodeContentBuilder
pub fn builder() -> CodeContentBuilder
Creates a new builder-style object to manufacture CodeContent.
Trait Implementations§
source§impl Clone for CodeContent
impl Clone for CodeContent
source§fn clone(&self) -> CodeContent
fn clone(&self) -> CodeContent
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 CodeContent
impl Debug for CodeContent
source§impl PartialEq for CodeContent
impl PartialEq for CodeContent
source§fn eq(&self, other: &CodeContent) -> bool
fn eq(&self, other: &CodeContent) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CodeContent
Auto Trait Implementations§
impl RefUnwindSafe for CodeContent
impl Send for CodeContent
impl Sync for CodeContent
impl Unpin for CodeContent
impl UnwindSafe for CodeContent
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.