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 get_desired_state(&self) -> &Option<RequestedPipeState>
pub fn get_desired_state(&self) -> &Option<RequestedPipeState>
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 get_current_state(&self) -> &Option<PipeState>
pub fn get_current_state(&self) -> &Option<PipeState>
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 get_state_reason(&self) -> &Option<String>
pub fn get_state_reason(&self) -> &Option<String>
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 get_creation_time(&self) -> &Option<DateTime>
pub fn get_creation_time(&self) -> &Option<DateTime>
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 get_last_modified_time(&self) -> &Option<DateTime>
pub fn get_last_modified_time(&self) -> &Option<DateTime>
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 get_source(&self) -> &Option<String>
pub fn get_source(&self) -> &Option<String>
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 get_target(&self) -> &Option<String>
pub fn get_target(&self) -> &Option<String>
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.
sourcepub fn get_enrichment(&self) -> &Option<String>
pub fn get_enrichment(&self) -> &Option<String>
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
source§impl PartialEq for PipeBuilder
impl PartialEq for PipeBuilder
source§fn eq(&self, other: &PipeBuilder) -> bool
fn eq(&self, other: &PipeBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.