Struct aws_sdk_pipes::types::builders::PipeBuilder
source · #[non_exhaustive]pub struct PipeBuilder { /* private fields */ }Expand description
A builder for Pipe.
Implementations§
source§impl PipeBuilder
impl PipeBuilder
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 current_state(self, input: PipeState) -> Self
pub fn current_state(self, input: PipeState) -> Self
The state the pipe is in.
sourcepub fn set_current_state(self, input: Option<PipeState>) -> Self
pub fn set_current_state(self, input: Option<PipeState>) -> Self
The state the pipe is in.
sourcepub fn state_reason(self, input: impl Into<String>) -> Self
pub fn state_reason(self, input: impl Into<String>) -> Self
The reason the pipe is in its current state.
sourcepub fn set_state_reason(self, input: Option<String>) -> Self
pub fn set_state_reason(self, input: Option<String>) -> Self
The reason the pipe is in its current state.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
The time the pipe was created.
sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
The time the pipe was created.
sourcepub fn last_modified_time(self, input: DateTime) -> Self
pub fn last_modified_time(self, input: DateTime) -> Self
When the pipe was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
sourcepub fn set_last_modified_time(self, input: Option<DateTime>) -> Self
pub fn set_last_modified_time(self, input: Option<DateTime>) -> Self
When the pipe was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
sourcepub fn set_source(self, input: Option<String>) -> Self
pub fn set_source(self, input: Option<String>) -> Self
The ARN of the source resource.
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 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.
Trait Implementations§
source§impl Clone for PipeBuilder
impl Clone for PipeBuilder
source§fn clone(&self) -> PipeBuilder
fn clone(&self) -> PipeBuilder
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 Debug for PipeBuilder
impl Debug for PipeBuilder
source§impl Default for PipeBuilder
impl Default for PipeBuilder
source§fn default() -> PipeBuilder
fn default() -> PipeBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<PipeBuilder> for PipeBuilder
impl PartialEq<PipeBuilder> for PipeBuilder
source§fn eq(&self, other: &PipeBuilder) -> bool
fn eq(&self, other: &PipeBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.