#[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 ==.