#[non_exhaustive]pub struct CreateServiceOutputBuilder { /* private fields */ }
Expand description
A builder for CreateServiceOutput
.
Implementations§
source§impl CreateServiceOutputBuilder
impl CreateServiceOutputBuilder
sourcepub fn service(self, input: Service) -> Self
pub fn service(self, input: Service) -> Self
The full description of your service following the create call.
A service will return either a capacityProviderStrategy
or launchType
parameter, but not both, depending where one was specified when it was created.
If a service is using the ECS
deployment controller, the deploymentController
and taskSets
parameters will not be returned.
if the service uses the CODE_DEPLOY
deployment controller, the deploymentController
, taskSets
and deployments
parameters will be returned, however the deployments
parameter will be an empty list.
sourcepub fn set_service(self, input: Option<Service>) -> Self
pub fn set_service(self, input: Option<Service>) -> Self
The full description of your service following the create call.
A service will return either a capacityProviderStrategy
or launchType
parameter, but not both, depending where one was specified when it was created.
If a service is using the ECS
deployment controller, the deploymentController
and taskSets
parameters will not be returned.
if the service uses the CODE_DEPLOY
deployment controller, the deploymentController
, taskSets
and deployments
parameters will be returned, however the deployments
parameter will be an empty list.
sourcepub fn get_service(&self) -> &Option<Service>
pub fn get_service(&self) -> &Option<Service>
The full description of your service following the create call.
A service will return either a capacityProviderStrategy
or launchType
parameter, but not both, depending where one was specified when it was created.
If a service is using the ECS
deployment controller, the deploymentController
and taskSets
parameters will not be returned.
if the service uses the CODE_DEPLOY
deployment controller, the deploymentController
, taskSets
and deployments
parameters will be returned, however the deployments
parameter will be an empty list.
sourcepub fn build(self) -> CreateServiceOutput
pub fn build(self) -> CreateServiceOutput
Consumes the builder and constructs a CreateServiceOutput
.
Trait Implementations§
source§impl Clone for CreateServiceOutputBuilder
impl Clone for CreateServiceOutputBuilder
source§fn clone(&self) -> CreateServiceOutputBuilder
fn clone(&self) -> CreateServiceOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateServiceOutputBuilder
impl Debug for CreateServiceOutputBuilder
source§impl Default for CreateServiceOutputBuilder
impl Default for CreateServiceOutputBuilder
source§fn default() -> CreateServiceOutputBuilder
fn default() -> CreateServiceOutputBuilder
source§impl PartialEq for CreateServiceOutputBuilder
impl PartialEq for CreateServiceOutputBuilder
source§fn eq(&self, other: &CreateServiceOutputBuilder) -> bool
fn eq(&self, other: &CreateServiceOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateServiceOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateServiceOutputBuilder
impl RefUnwindSafe for CreateServiceOutputBuilder
impl Send for CreateServiceOutputBuilder
impl Sync for CreateServiceOutputBuilder
impl Unpin for CreateServiceOutputBuilder
impl UnwindSafe for CreateServiceOutputBuilder
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