#[non_exhaustive]pub struct M2ManagedApplicationSummaryBuilder { /* private fields */ }Expand description
A builder for M2ManagedApplicationSummary.
Implementations§
source§impl M2ManagedApplicationSummaryBuilder
impl M2ManagedApplicationSummaryBuilder
sourcepub fn application_id(self, input: impl Into<String>) -> Self
pub fn application_id(self, input: impl Into<String>) -> Self
The application ID of the AWS Mainframe Modernization managed application summary.
This field is required.sourcepub fn set_application_id(self, input: Option<String>) -> Self
pub fn set_application_id(self, input: Option<String>) -> Self
The application ID of the AWS Mainframe Modernization managed application summary.
sourcepub fn get_application_id(&self) -> &Option<String>
pub fn get_application_id(&self) -> &Option<String>
The application ID of the AWS Mainframe Modernization managed application summary.
sourcepub fn runtime(self, input: M2ManagedRuntime) -> Self
pub fn runtime(self, input: M2ManagedRuntime) -> Self
The runtime of the AWS Mainframe Modernization managed application summary.
This field is required.sourcepub fn set_runtime(self, input: Option<M2ManagedRuntime>) -> Self
pub fn set_runtime(self, input: Option<M2ManagedRuntime>) -> Self
The runtime of the AWS Mainframe Modernization managed application summary.
sourcepub fn get_runtime(&self) -> &Option<M2ManagedRuntime>
pub fn get_runtime(&self) -> &Option<M2ManagedRuntime>
The runtime of the AWS Mainframe Modernization managed application summary.
sourcepub fn listener_port(self, input: i32) -> Self
pub fn listener_port(self, input: i32) -> Self
The listener port of the AWS Mainframe Modernization managed application summary.
sourcepub fn set_listener_port(self, input: Option<i32>) -> Self
pub fn set_listener_port(self, input: Option<i32>) -> Self
The listener port of the AWS Mainframe Modernization managed application summary.
sourcepub fn get_listener_port(&self) -> &Option<i32>
pub fn get_listener_port(&self) -> &Option<i32>
The listener port of the AWS Mainframe Modernization managed application summary.
sourcepub fn build(self) -> Result<M2ManagedApplicationSummary, BuildError>
pub fn build(self) -> Result<M2ManagedApplicationSummary, BuildError>
Consumes the builder and constructs a M2ManagedApplicationSummary.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for M2ManagedApplicationSummaryBuilder
impl Clone for M2ManagedApplicationSummaryBuilder
source§fn clone(&self) -> M2ManagedApplicationSummaryBuilder
fn clone(&self) -> M2ManagedApplicationSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for M2ManagedApplicationSummaryBuilder
impl Default for M2ManagedApplicationSummaryBuilder
source§fn default() -> M2ManagedApplicationSummaryBuilder
fn default() -> M2ManagedApplicationSummaryBuilder
source§impl PartialEq for M2ManagedApplicationSummaryBuilder
impl PartialEq for M2ManagedApplicationSummaryBuilder
source§fn eq(&self, other: &M2ManagedApplicationSummaryBuilder) -> bool
fn eq(&self, other: &M2ManagedApplicationSummaryBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for M2ManagedApplicationSummaryBuilder
Auto Trait Implementations§
impl Freeze for M2ManagedApplicationSummaryBuilder
impl RefUnwindSafe for M2ManagedApplicationSummaryBuilder
impl Send for M2ManagedApplicationSummaryBuilder
impl Sync for M2ManagedApplicationSummaryBuilder
impl Unpin for M2ManagedApplicationSummaryBuilder
impl UnwindSafe for M2ManagedApplicationSummaryBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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