#[non_exhaustive]pub struct M2ManagedApplicationBuilder { /* private fields */ }
Expand description
A builder for M2ManagedApplication
.
Implementations§
source§impl M2ManagedApplicationBuilder
impl M2ManagedApplicationBuilder
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.
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.
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.
sourcepub fn runtime(self, input: M2ManagedRuntime) -> Self
pub fn runtime(self, input: M2ManagedRuntime) -> Self
The runtime of the AWS Mainframe Modernization managed application.
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.
sourcepub fn get_runtime(&self) -> &Option<M2ManagedRuntime>
pub fn get_runtime(&self) -> &Option<M2ManagedRuntime>
The runtime of the AWS Mainframe Modernization managed application.
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 managed application.
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 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 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 managed application.
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 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 managed application.
sourcepub fn build(self) -> Result<M2ManagedApplication, BuildError>
pub fn build(self) -> Result<M2ManagedApplication, BuildError>
Consumes the builder and constructs a M2ManagedApplication
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for M2ManagedApplicationBuilder
impl Clone for M2ManagedApplicationBuilder
source§fn clone(&self) -> M2ManagedApplicationBuilder
fn clone(&self) -> M2ManagedApplicationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for M2ManagedApplicationBuilder
impl Debug for M2ManagedApplicationBuilder
source§impl Default for M2ManagedApplicationBuilder
impl Default for M2ManagedApplicationBuilder
source§fn default() -> M2ManagedApplicationBuilder
fn default() -> M2ManagedApplicationBuilder
source§impl PartialEq for M2ManagedApplicationBuilder
impl PartialEq for M2ManagedApplicationBuilder
source§fn eq(&self, other: &M2ManagedApplicationBuilder) -> bool
fn eq(&self, other: &M2ManagedApplicationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for M2ManagedApplicationBuilder
Auto Trait Implementations§
impl Freeze for M2ManagedApplicationBuilder
impl RefUnwindSafe for M2ManagedApplicationBuilder
impl Send for M2ManagedApplicationBuilder
impl Sync for M2ManagedApplicationBuilder
impl Unpin for M2ManagedApplicationBuilder
impl UnwindSafe for M2ManagedApplicationBuilder
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