Struct aws_sdk_codedeploy::model::ecs_service::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for EcsService
.
Implementations§
source§impl Builder
impl Builder
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 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 build(self) -> EcsService
pub fn build(self) -> EcsService
Consumes the builder and constructs a EcsService
.