#[non_exhaustive]pub struct ContainerServiceEndpointBuilder { /* private fields */ }
Expand description
A builder for ContainerServiceEndpoint
.
Implementations§
source§impl ContainerServiceEndpointBuilder
impl ContainerServiceEndpointBuilder
sourcepub fn container_name(self, input: impl Into<String>) -> Self
pub fn container_name(self, input: impl Into<String>) -> Self
The name of the container entry of the deployment that the endpoint configuration applies to.
sourcepub fn set_container_name(self, input: Option<String>) -> Self
pub fn set_container_name(self, input: Option<String>) -> Self
The name of the container entry of the deployment that the endpoint configuration applies to.
sourcepub fn get_container_name(&self) -> &Option<String>
pub fn get_container_name(&self) -> &Option<String>
The name of the container entry of the deployment that the endpoint configuration applies to.
sourcepub fn container_port(self, input: i32) -> Self
pub fn container_port(self, input: i32) -> Self
The port of the specified container to which traffic is forwarded to.
sourcepub fn set_container_port(self, input: Option<i32>) -> Self
pub fn set_container_port(self, input: Option<i32>) -> Self
The port of the specified container to which traffic is forwarded to.
sourcepub fn get_container_port(&self) -> &Option<i32>
pub fn get_container_port(&self) -> &Option<i32>
The port of the specified container to which traffic is forwarded to.
sourcepub fn health_check(self, input: ContainerServiceHealthCheckConfig) -> Self
pub fn health_check(self, input: ContainerServiceHealthCheckConfig) -> Self
An object that describes the health check configuration of the container.
sourcepub fn set_health_check(
self,
input: Option<ContainerServiceHealthCheckConfig>
) -> Self
pub fn set_health_check( self, input: Option<ContainerServiceHealthCheckConfig> ) -> Self
An object that describes the health check configuration of the container.
sourcepub fn get_health_check(&self) -> &Option<ContainerServiceHealthCheckConfig>
pub fn get_health_check(&self) -> &Option<ContainerServiceHealthCheckConfig>
An object that describes the health check configuration of the container.
sourcepub fn build(self) -> ContainerServiceEndpoint
pub fn build(self) -> ContainerServiceEndpoint
Consumes the builder and constructs a ContainerServiceEndpoint
.
Trait Implementations§
source§impl Clone for ContainerServiceEndpointBuilder
impl Clone for ContainerServiceEndpointBuilder
source§fn clone(&self) -> ContainerServiceEndpointBuilder
fn clone(&self) -> ContainerServiceEndpointBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ContainerServiceEndpointBuilder
impl Default for ContainerServiceEndpointBuilder
source§fn default() -> ContainerServiceEndpointBuilder
fn default() -> ContainerServiceEndpointBuilder
source§impl PartialEq for ContainerServiceEndpointBuilder
impl PartialEq for ContainerServiceEndpointBuilder
source§fn eq(&self, other: &ContainerServiceEndpointBuilder) -> bool
fn eq(&self, other: &ContainerServiceEndpointBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ContainerServiceEndpointBuilder
Auto Trait Implementations§
impl Freeze for ContainerServiceEndpointBuilder
impl RefUnwindSafe for ContainerServiceEndpointBuilder
impl Send for ContainerServiceEndpointBuilder
impl Sync for ContainerServiceEndpointBuilder
impl Unpin for ContainerServiceEndpointBuilder
impl UnwindSafe for ContainerServiceEndpointBuilder
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