#[non_exhaustive]pub struct UpdatePipeInputBuilder { /* private fields */ }Expand description
A builder for UpdatePipeInput.
Implementations§
source§impl UpdatePipeInputBuilder
impl UpdatePipeInputBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the pipe.
This field is required.sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description of the pipe.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description of the pipe.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A description of the pipe.
sourcepub fn desired_state(self, input: RequestedPipeState) -> Self
pub fn desired_state(self, input: RequestedPipeState) -> Self
The state the pipe should be in.
sourcepub fn set_desired_state(self, input: Option<RequestedPipeState>) -> Self
pub fn set_desired_state(self, input: Option<RequestedPipeState>) -> Self
The state the pipe should be in.
sourcepub fn get_desired_state(&self) -> &Option<RequestedPipeState>
pub fn get_desired_state(&self) -> &Option<RequestedPipeState>
The state the pipe should be in.
sourcepub fn source_parameters(self, input: UpdatePipeSourceParameters) -> Self
pub fn source_parameters(self, input: UpdatePipeSourceParameters) -> Self
The parameters required to set up a source for your pipe.
sourcepub fn set_source_parameters(
self,
input: Option<UpdatePipeSourceParameters>,
) -> Self
pub fn set_source_parameters( self, input: Option<UpdatePipeSourceParameters>, ) -> Self
The parameters required to set up a source for your pipe.
sourcepub fn get_source_parameters(&self) -> &Option<UpdatePipeSourceParameters>
pub fn get_source_parameters(&self) -> &Option<UpdatePipeSourceParameters>
The parameters required to set up a source for your pipe.
sourcepub fn enrichment(self, input: impl Into<String>) -> Self
pub fn enrichment(self, input: impl Into<String>) -> Self
The ARN of the enrichment resource.
sourcepub fn set_enrichment(self, input: Option<String>) -> Self
pub fn set_enrichment(self, input: Option<String>) -> Self
The ARN of the enrichment resource.
sourcepub fn get_enrichment(&self) -> &Option<String>
pub fn get_enrichment(&self) -> &Option<String>
The ARN of the enrichment resource.
sourcepub fn enrichment_parameters(self, input: PipeEnrichmentParameters) -> Self
pub fn enrichment_parameters(self, input: PipeEnrichmentParameters) -> Self
The parameters required to set up enrichment on your pipe.
sourcepub fn set_enrichment_parameters(
self,
input: Option<PipeEnrichmentParameters>,
) -> Self
pub fn set_enrichment_parameters( self, input: Option<PipeEnrichmentParameters>, ) -> Self
The parameters required to set up enrichment on your pipe.
sourcepub fn get_enrichment_parameters(&self) -> &Option<PipeEnrichmentParameters>
pub fn get_enrichment_parameters(&self) -> &Option<PipeEnrichmentParameters>
The parameters required to set up enrichment on your pipe.
sourcepub fn set_target(self, input: Option<String>) -> Self
pub fn set_target(self, input: Option<String>) -> Self
The ARN of the target resource.
sourcepub fn get_target(&self) -> &Option<String>
pub fn get_target(&self) -> &Option<String>
The ARN of the target resource.
sourcepub fn target_parameters(self, input: PipeTargetParameters) -> Self
pub fn target_parameters(self, input: PipeTargetParameters) -> Self
The parameters required to set up a target for your pipe.
For more information about pipe target parameters, including how to use dynamic path parameters, see Target parameters in the Amazon EventBridge User Guide.
sourcepub fn set_target_parameters(self, input: Option<PipeTargetParameters>) -> Self
pub fn set_target_parameters(self, input: Option<PipeTargetParameters>) -> Self
The parameters required to set up a target for your pipe.
For more information about pipe target parameters, including how to use dynamic path parameters, see Target parameters in the Amazon EventBridge User Guide.
sourcepub fn get_target_parameters(&self) -> &Option<PipeTargetParameters>
pub fn get_target_parameters(&self) -> &Option<PipeTargetParameters>
The parameters required to set up a target for your pipe.
For more information about pipe target parameters, including how to use dynamic path parameters, see Target parameters in the Amazon EventBridge User Guide.
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
The ARN of the role that allows the pipe to send data to the target.
This field is required.sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
The ARN of the role that allows the pipe to send data to the target.
sourcepub fn get_role_arn(&self) -> &Option<String>
pub fn get_role_arn(&self) -> &Option<String>
The ARN of the role that allows the pipe to send data to the target.
sourcepub fn log_configuration(self, input: PipeLogConfigurationParameters) -> Self
pub fn log_configuration(self, input: PipeLogConfigurationParameters) -> Self
The logging configuration settings for the pipe.
sourcepub fn set_log_configuration(
self,
input: Option<PipeLogConfigurationParameters>,
) -> Self
pub fn set_log_configuration( self, input: Option<PipeLogConfigurationParameters>, ) -> Self
The logging configuration settings for the pipe.
sourcepub fn get_log_configuration(&self) -> &Option<PipeLogConfigurationParameters>
pub fn get_log_configuration(&self) -> &Option<PipeLogConfigurationParameters>
The logging configuration settings for the pipe.
sourcepub fn build(self) -> Result<UpdatePipeInput, BuildError>
pub fn build(self) -> Result<UpdatePipeInput, BuildError>
Consumes the builder and constructs a UpdatePipeInput.
source§impl UpdatePipeInputBuilder
impl UpdatePipeInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<UpdatePipeOutput, SdkError<UpdatePipeError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<UpdatePipeOutput, SdkError<UpdatePipeError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdatePipeInputBuilder
impl Clone for UpdatePipeInputBuilder
source§fn clone(&self) -> UpdatePipeInputBuilder
fn clone(&self) -> UpdatePipeInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UpdatePipeInputBuilder
impl Debug for UpdatePipeInputBuilder
source§impl Default for UpdatePipeInputBuilder
impl Default for UpdatePipeInputBuilder
source§fn default() -> UpdatePipeInputBuilder
fn default() -> UpdatePipeInputBuilder
source§impl PartialEq for UpdatePipeInputBuilder
impl PartialEq for UpdatePipeInputBuilder
source§fn eq(&self, other: &UpdatePipeInputBuilder) -> bool
fn eq(&self, other: &UpdatePipeInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdatePipeInputBuilder
Auto Trait Implementations§
impl Freeze for UpdatePipeInputBuilder
impl RefUnwindSafe for UpdatePipeInputBuilder
impl Send for UpdatePipeInputBuilder
impl Sync for UpdatePipeInputBuilder
impl Unpin for UpdatePipeInputBuilder
impl UnwindSafe for UpdatePipeInputBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more