Struct aws_sdk_eventbridge::operation::update_api_destination::builders::UpdateApiDestinationInputBuilder
source · #[non_exhaustive]pub struct UpdateApiDestinationInputBuilder { /* private fields */ }
Expand description
A builder for UpdateApiDestinationInput
.
Implementations§
source§impl UpdateApiDestinationInputBuilder
impl UpdateApiDestinationInputBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the API destination to update.
This field is required.sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the API destination to update.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The name of the API destination to update.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The name of the API destination to update.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The name of the API destination to update.
sourcepub fn connection_arn(self, input: impl Into<String>) -> Self
pub fn connection_arn(self, input: impl Into<String>) -> Self
The ARN of the connection to use for the API destination.
sourcepub fn set_connection_arn(self, input: Option<String>) -> Self
pub fn set_connection_arn(self, input: Option<String>) -> Self
The ARN of the connection to use for the API destination.
sourcepub fn get_connection_arn(&self) -> &Option<String>
pub fn get_connection_arn(&self) -> &Option<String>
The ARN of the connection to use for the API destination.
sourcepub fn invocation_endpoint(self, input: impl Into<String>) -> Self
pub fn invocation_endpoint(self, input: impl Into<String>) -> Self
The URL to the endpoint to use for the API destination.
sourcepub fn set_invocation_endpoint(self, input: Option<String>) -> Self
pub fn set_invocation_endpoint(self, input: Option<String>) -> Self
The URL to the endpoint to use for the API destination.
sourcepub fn get_invocation_endpoint(&self) -> &Option<String>
pub fn get_invocation_endpoint(&self) -> &Option<String>
The URL to the endpoint to use for the API destination.
sourcepub fn http_method(self, input: ApiDestinationHttpMethod) -> Self
pub fn http_method(self, input: ApiDestinationHttpMethod) -> Self
The method to use for the API destination.
sourcepub fn set_http_method(self, input: Option<ApiDestinationHttpMethod>) -> Self
pub fn set_http_method(self, input: Option<ApiDestinationHttpMethod>) -> Self
The method to use for the API destination.
sourcepub fn get_http_method(&self) -> &Option<ApiDestinationHttpMethod>
pub fn get_http_method(&self) -> &Option<ApiDestinationHttpMethod>
The method to use for the API destination.
sourcepub fn invocation_rate_limit_per_second(self, input: i32) -> Self
pub fn invocation_rate_limit_per_second(self, input: i32) -> Self
The maximum number of invocations per second to send to the API destination.
sourcepub fn set_invocation_rate_limit_per_second(self, input: Option<i32>) -> Self
pub fn set_invocation_rate_limit_per_second(self, input: Option<i32>) -> Self
The maximum number of invocations per second to send to the API destination.
sourcepub fn get_invocation_rate_limit_per_second(&self) -> &Option<i32>
pub fn get_invocation_rate_limit_per_second(&self) -> &Option<i32>
The maximum number of invocations per second to send to the API destination.
sourcepub fn build(self) -> Result<UpdateApiDestinationInput, BuildError>
pub fn build(self) -> Result<UpdateApiDestinationInput, BuildError>
Consumes the builder and constructs a UpdateApiDestinationInput
.
source§impl UpdateApiDestinationInputBuilder
impl UpdateApiDestinationInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateApiDestinationOutput, SdkError<UpdateApiDestinationError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateApiDestinationOutput, SdkError<UpdateApiDestinationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateApiDestinationInputBuilder
impl Clone for UpdateApiDestinationInputBuilder
source§fn clone(&self) -> UpdateApiDestinationInputBuilder
fn clone(&self) -> UpdateApiDestinationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateApiDestinationInputBuilder
impl Default for UpdateApiDestinationInputBuilder
source§fn default() -> UpdateApiDestinationInputBuilder
fn default() -> UpdateApiDestinationInputBuilder
source§impl PartialEq for UpdateApiDestinationInputBuilder
impl PartialEq for UpdateApiDestinationInputBuilder
source§fn eq(&self, other: &UpdateApiDestinationInputBuilder) -> bool
fn eq(&self, other: &UpdateApiDestinationInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.