#[non_exhaustive]pub struct M2NonManagedApplicationBuilder { /* private fields */ }
Expand description
A builder for M2NonManagedApplication
.
Implementations§
source§impl M2NonManagedApplicationBuilder
impl M2NonManagedApplicationBuilder
sourcepub fn vpc_endpoint_service_name(self, input: impl Into<String>) -> Self
pub fn vpc_endpoint_service_name(self, input: impl Into<String>) -> Self
The VPC endpoint service name of the AWS Mainframe Modernization non-managed application.
This field is required.sourcepub fn set_vpc_endpoint_service_name(self, input: Option<String>) -> Self
pub fn set_vpc_endpoint_service_name(self, input: Option<String>) -> Self
The VPC endpoint service name of the AWS Mainframe Modernization non-managed application.
sourcepub fn get_vpc_endpoint_service_name(&self) -> &Option<String>
pub fn get_vpc_endpoint_service_name(&self) -> &Option<String>
The VPC endpoint service name of the AWS Mainframe Modernization non-managed application.
sourcepub fn listener_port(self, input: impl Into<String>) -> Self
pub fn listener_port(self, input: impl Into<String>) -> Self
The listener port of the AWS Mainframe Modernization non-managed application.
This field is required.sourcepub fn set_listener_port(self, input: Option<String>) -> Self
pub fn set_listener_port(self, input: Option<String>) -> Self
The listener port of the AWS Mainframe Modernization non-managed application.
sourcepub fn get_listener_port(&self) -> &Option<String>
pub fn get_listener_port(&self) -> &Option<String>
The listener port of the AWS Mainframe Modernization non-managed application.
sourcepub fn runtime(self, input: M2NonManagedRuntime) -> Self
pub fn runtime(self, input: M2NonManagedRuntime) -> Self
The runtime of the AWS Mainframe Modernization non-managed application.
This field is required.sourcepub fn set_runtime(self, input: Option<M2NonManagedRuntime>) -> Self
pub fn set_runtime(self, input: Option<M2NonManagedRuntime>) -> Self
The runtime of the AWS Mainframe Modernization non-managed application.
sourcepub fn get_runtime(&self) -> &Option<M2NonManagedRuntime>
pub fn get_runtime(&self) -> &Option<M2NonManagedRuntime>
The runtime of the AWS Mainframe Modernization non-managed application.
sourcepub fn web_app_name(self, input: impl Into<String>) -> Self
pub fn web_app_name(self, input: impl Into<String>) -> Self
The web application name of the AWS Mainframe Modernization non-managed application.
sourcepub fn set_web_app_name(self, input: Option<String>) -> Self
pub fn set_web_app_name(self, input: Option<String>) -> Self
The web application name of the AWS Mainframe Modernization non-managed application.
sourcepub fn get_web_app_name(&self) -> &Option<String>
pub fn get_web_app_name(&self) -> &Option<String>
The web application name of the AWS Mainframe Modernization non-managed application.
sourcepub fn build(self) -> Result<M2NonManagedApplication, BuildError>
pub fn build(self) -> Result<M2NonManagedApplication, BuildError>
Consumes the builder and constructs a M2NonManagedApplication
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for M2NonManagedApplicationBuilder
impl Clone for M2NonManagedApplicationBuilder
source§fn clone(&self) -> M2NonManagedApplicationBuilder
fn clone(&self) -> M2NonManagedApplicationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for M2NonManagedApplicationBuilder
impl Default for M2NonManagedApplicationBuilder
source§fn default() -> M2NonManagedApplicationBuilder
fn default() -> M2NonManagedApplicationBuilder
source§impl PartialEq for M2NonManagedApplicationBuilder
impl PartialEq for M2NonManagedApplicationBuilder
source§fn eq(&self, other: &M2NonManagedApplicationBuilder) -> bool
fn eq(&self, other: &M2NonManagedApplicationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for M2NonManagedApplicationBuilder
Auto Trait Implementations§
impl Freeze for M2NonManagedApplicationBuilder
impl RefUnwindSafe for M2NonManagedApplicationBuilder
impl Send for M2NonManagedApplicationBuilder
impl Sync for M2NonManagedApplicationBuilder
impl Unpin for M2NonManagedApplicationBuilder
impl UnwindSafe for M2NonManagedApplicationBuilder
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