Struct aws_sdk_pipes::model::pipe::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for Pipe
.
Implementations§
source§impl Builder
impl Builder
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.