#[non_exhaustive]pub struct ApplicationSummaryBuilder { /* private fields */ }
Expand description
A builder for ApplicationSummary
.
Implementations§
source§impl ApplicationSummaryBuilder
impl ApplicationSummaryBuilder
sourcepub fn application_name(self, input: impl Into<String>) -> Self
pub fn application_name(self, input: impl Into<String>) -> Self
The name of the application.
This field is required.sourcepub fn set_application_name(self, input: Option<String>) -> Self
pub fn set_application_name(self, input: Option<String>) -> Self
The name of the application.
sourcepub fn get_application_name(&self) -> &Option<String>
pub fn get_application_name(&self) -> &Option<String>
The name of the application.
sourcepub fn application_arn(self, input: impl Into<String>) -> Self
pub fn application_arn(self, input: impl Into<String>) -> Self
The ARN of the application.
This field is required.sourcepub fn set_application_arn(self, input: Option<String>) -> Self
pub fn set_application_arn(self, input: Option<String>) -> Self
The ARN of the application.
sourcepub fn get_application_arn(&self) -> &Option<String>
pub fn get_application_arn(&self) -> &Option<String>
The ARN of the application.
sourcepub fn application_status(self, input: ApplicationStatus) -> Self
pub fn application_status(self, input: ApplicationStatus) -> Self
The status of the application.
This field is required.sourcepub fn set_application_status(self, input: Option<ApplicationStatus>) -> Self
pub fn set_application_status(self, input: Option<ApplicationStatus>) -> Self
The status of the application.
sourcepub fn get_application_status(&self) -> &Option<ApplicationStatus>
pub fn get_application_status(&self) -> &Option<ApplicationStatus>
The status of the application.
sourcepub fn application_version_id(self, input: i64) -> Self
pub fn application_version_id(self, input: i64) -> Self
Provides the current application version.
This field is required.sourcepub fn set_application_version_id(self, input: Option<i64>) -> Self
pub fn set_application_version_id(self, input: Option<i64>) -> Self
Provides the current application version.
sourcepub fn get_application_version_id(&self) -> &Option<i64>
pub fn get_application_version_id(&self) -> &Option<i64>
Provides the current application version.
sourcepub fn runtime_environment(self, input: RuntimeEnvironment) -> Self
pub fn runtime_environment(self, input: RuntimeEnvironment) -> Self
The runtime environment for the application.
This field is required.sourcepub fn set_runtime_environment(self, input: Option<RuntimeEnvironment>) -> Self
pub fn set_runtime_environment(self, input: Option<RuntimeEnvironment>) -> Self
The runtime environment for the application.
sourcepub fn get_runtime_environment(&self) -> &Option<RuntimeEnvironment>
pub fn get_runtime_environment(&self) -> &Option<RuntimeEnvironment>
The runtime environment for the application.
sourcepub fn application_mode(self, input: ApplicationMode) -> Self
pub fn application_mode(self, input: ApplicationMode) -> Self
For a Managed Service for Apache Flink application, the mode is STREAMING
. For a Managed Service for Apache Flink Studio notebook, it is INTERACTIVE
.
sourcepub fn set_application_mode(self, input: Option<ApplicationMode>) -> Self
pub fn set_application_mode(self, input: Option<ApplicationMode>) -> Self
For a Managed Service for Apache Flink application, the mode is STREAMING
. For a Managed Service for Apache Flink Studio notebook, it is INTERACTIVE
.
sourcepub fn get_application_mode(&self) -> &Option<ApplicationMode>
pub fn get_application_mode(&self) -> &Option<ApplicationMode>
For a Managed Service for Apache Flink application, the mode is STREAMING
. For a Managed Service for Apache Flink Studio notebook, it is INTERACTIVE
.
sourcepub fn build(self) -> Result<ApplicationSummary, BuildError>
pub fn build(self) -> Result<ApplicationSummary, BuildError>
Consumes the builder and constructs a ApplicationSummary
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ApplicationSummaryBuilder
impl Clone for ApplicationSummaryBuilder
source§fn clone(&self) -> ApplicationSummaryBuilder
fn clone(&self) -> ApplicationSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ApplicationSummaryBuilder
impl Debug for ApplicationSummaryBuilder
source§impl Default for ApplicationSummaryBuilder
impl Default for ApplicationSummaryBuilder
source§fn default() -> ApplicationSummaryBuilder
fn default() -> ApplicationSummaryBuilder
source§impl PartialEq for ApplicationSummaryBuilder
impl PartialEq for ApplicationSummaryBuilder
source§fn eq(&self, other: &ApplicationSummaryBuilder) -> bool
fn eq(&self, other: &ApplicationSummaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ApplicationSummaryBuilder
Auto Trait Implementations§
impl Freeze for ApplicationSummaryBuilder
impl RefUnwindSafe for ApplicationSummaryBuilder
impl Send for ApplicationSummaryBuilder
impl Sync for ApplicationSummaryBuilder
impl Unpin for ApplicationSummaryBuilder
impl UnwindSafe for ApplicationSummaryBuilder
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
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>
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>
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 more