Struct aws_sdk_eventbridge::input::delete_endpoint_input::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for DeleteEndpointInput.
Implementations§
source§impl Builder
impl Builder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the endpoint you want to delete. For example, "Name":"us-east-2-custom_bus_A-endpoint"..
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the endpoint you want to delete. For example, "Name":"us-east-2-custom_bus_A-endpoint"..
sourcepub fn build(self) -> Result<DeleteEndpointInput, BuildError>
pub fn build(self) -> Result<DeleteEndpointInput, BuildError>
Consumes the builder and constructs a DeleteEndpointInput.