Struct aws_sdk_ecs::operation::discover_poll_endpoint::builders::DiscoverPollEndpointInputBuilder
source · #[non_exhaustive]pub struct DiscoverPollEndpointInputBuilder { /* private fields */ }Expand description
A builder for DiscoverPollEndpointInput.
Implementations§
source§impl DiscoverPollEndpointInputBuilder
impl DiscoverPollEndpointInputBuilder
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 get_container_instance(&self) -> &Option<String>
pub fn get_container_instance(&self) -> &Option<String>
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 get_cluster(&self) -> &Option<String>
pub fn get_cluster(&self) -> &Option<String>
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.
source§impl DiscoverPollEndpointInputBuilder
impl DiscoverPollEndpointInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DiscoverPollEndpointOutput, SdkError<DiscoverPollEndpointError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DiscoverPollEndpointOutput, SdkError<DiscoverPollEndpointError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DiscoverPollEndpointInputBuilder
impl Clone for DiscoverPollEndpointInputBuilder
source§fn clone(&self) -> DiscoverPollEndpointInputBuilder
fn clone(&self) -> DiscoverPollEndpointInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for DiscoverPollEndpointInputBuilder
impl Default for DiscoverPollEndpointInputBuilder
source§fn default() -> DiscoverPollEndpointInputBuilder
fn default() -> DiscoverPollEndpointInputBuilder
source§impl PartialEq for DiscoverPollEndpointInputBuilder
impl PartialEq for DiscoverPollEndpointInputBuilder
source§fn eq(&self, other: &DiscoverPollEndpointInputBuilder) -> bool
fn eq(&self, other: &DiscoverPollEndpointInputBuilder) -> bool
self and other values to be equal, and is used
by ==.