Struct aws_sdk_codedeploy::types::builders::EcsServiceBuilder
source · #[non_exhaustive]pub struct EcsServiceBuilder { /* private fields */ }
Expand description
A builder for EcsService
.
Implementations§
source§impl EcsServiceBuilder
impl EcsServiceBuilder
sourcepub fn service_name(self, input: impl Into<String>) -> Self
pub fn service_name(self, input: impl Into<String>) -> Self
The name of the target Amazon ECS service.
sourcepub fn set_service_name(self, input: Option<String>) -> Self
pub fn set_service_name(self, input: Option<String>) -> Self
The name of the target Amazon ECS service.
sourcepub fn get_service_name(&self) -> &Option<String>
pub fn get_service_name(&self) -> &Option<String>
The name of the target Amazon ECS service.
sourcepub fn cluster_name(self, input: impl Into<String>) -> Self
pub fn cluster_name(self, input: impl Into<String>) -> Self
The name of the cluster that the Amazon ECS service is associated with.
sourcepub fn set_cluster_name(self, input: Option<String>) -> Self
pub fn set_cluster_name(self, input: Option<String>) -> Self
The name of the cluster that the Amazon ECS service is associated with.
sourcepub fn get_cluster_name(&self) -> &Option<String>
pub fn get_cluster_name(&self) -> &Option<String>
The name of the cluster that the Amazon ECS service is associated with.
sourcepub fn build(self) -> EcsService
pub fn build(self) -> EcsService
Consumes the builder and constructs a EcsService
.
Trait Implementations§
source§impl Clone for EcsServiceBuilder
impl Clone for EcsServiceBuilder
source§fn clone(&self) -> EcsServiceBuilder
fn clone(&self) -> EcsServiceBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for EcsServiceBuilder
impl Debug for EcsServiceBuilder
source§impl Default for EcsServiceBuilder
impl Default for EcsServiceBuilder
source§fn default() -> EcsServiceBuilder
fn default() -> EcsServiceBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for EcsServiceBuilder
impl PartialEq for EcsServiceBuilder
source§fn eq(&self, other: &EcsServiceBuilder) -> bool
fn eq(&self, other: &EcsServiceBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EcsServiceBuilder
Auto Trait Implementations§
impl Freeze for EcsServiceBuilder
impl RefUnwindSafe for EcsServiceBuilder
impl Send for EcsServiceBuilder
impl Sync for EcsServiceBuilder
impl Unpin for EcsServiceBuilder
impl UnwindSafe for EcsServiceBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.