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 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 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 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 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 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 build(self) -> Result<UpdateApiDestinationInput, BuildError>
pub fn build(self) -> Result<UpdateApiDestinationInput, BuildError>
Consumes the builder and constructs a UpdateApiDestinationInput
.
Trait Implementations§
source§impl Clone for UpdateApiDestinationInputBuilder
impl Clone for UpdateApiDestinationInputBuilder
source§fn clone(&self) -> UpdateApiDestinationInputBuilder
fn clone(&self) -> UpdateApiDestinationInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for UpdateApiDestinationInputBuilder
impl Default for UpdateApiDestinationInputBuilder
source§fn default() -> UpdateApiDestinationInputBuilder
fn default() -> UpdateApiDestinationInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<UpdateApiDestinationInputBuilder> for UpdateApiDestinationInputBuilder
impl PartialEq<UpdateApiDestinationInputBuilder> for UpdateApiDestinationInputBuilder
source§fn eq(&self, other: &UpdateApiDestinationInputBuilder) -> bool
fn eq(&self, other: &UpdateApiDestinationInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateApiDestinationInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for UpdateApiDestinationInputBuilder
impl Send for UpdateApiDestinationInputBuilder
impl Sync for UpdateApiDestinationInputBuilder
impl Unpin for UpdateApiDestinationInputBuilder
impl UnwindSafe for UpdateApiDestinationInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more