Struct aws_sdk_ecs::input::discover_poll_endpoint_input::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for DiscoverPollEndpointInput.
Implementations§
source§impl Builder
impl Builder
sourcepub fn container_instance(self, input: impl Into<String>) -> Self
pub fn container_instance(self, input: impl Into<String>) -> Self
The container instance ID or full ARN of the container instance. For more information about the ARN format, see Amazon Resource Name (ARN) in the Amazon ECS Developer Guide.
sourcepub fn set_container_instance(self, input: Option<String>) -> Self
pub fn set_container_instance(self, input: Option<String>) -> Self
The container instance ID or full ARN of the container instance. For more information about the ARN format, see Amazon Resource Name (ARN) in the Amazon ECS Developer Guide.
sourcepub fn cluster(self, input: impl Into<String>) -> Self
pub fn cluster(self, input: impl Into<String>) -> Self
The short name or full Amazon Resource Name (ARN) of the cluster that the container instance belongs to.
sourcepub fn set_cluster(self, input: Option<String>) -> Self
pub fn set_cluster(self, input: Option<String>) -> Self
The short name or full Amazon Resource Name (ARN) of the cluster that the container instance belongs to.
sourcepub fn build(self) -> Result<DiscoverPollEndpointInput, BuildError>
pub fn build(self) -> Result<DiscoverPollEndpointInput, BuildError>
Consumes the builder and constructs a DiscoverPollEndpointInput.