#[non_exhaustive]pub struct UpdatePipelineInputBuilder { /* private fields */ }Expand description
A builder for UpdatePipelineInput.
Implementations§
source§impl UpdatePipelineInputBuilder
impl UpdatePipelineInputBuilder
sourcepub fn pipeline_name(self, input: impl Into<String>) -> Self
pub fn pipeline_name(self, input: impl Into<String>) -> Self
The name of the pipeline to update.
This field is required.sourcepub fn set_pipeline_name(self, input: Option<String>) -> Self
pub fn set_pipeline_name(self, input: Option<String>) -> Self
The name of the pipeline to update.
sourcepub fn get_pipeline_name(&self) -> &Option<String>
pub fn get_pipeline_name(&self) -> &Option<String>
The name of the pipeline to update.
sourcepub fn min_units(self, input: i32) -> Self
pub fn min_units(self, input: i32) -> Self
The minimum pipeline capacity, in Ingestion Compute Units (ICUs).
sourcepub fn set_min_units(self, input: Option<i32>) -> Self
pub fn set_min_units(self, input: Option<i32>) -> Self
The minimum pipeline capacity, in Ingestion Compute Units (ICUs).
sourcepub fn get_min_units(&self) -> &Option<i32>
pub fn get_min_units(&self) -> &Option<i32>
The minimum pipeline capacity, in Ingestion Compute Units (ICUs).
sourcepub fn max_units(self, input: i32) -> Self
pub fn max_units(self, input: i32) -> Self
The maximum pipeline capacity, in Ingestion Compute Units (ICUs)
sourcepub fn set_max_units(self, input: Option<i32>) -> Self
pub fn set_max_units(self, input: Option<i32>) -> Self
The maximum pipeline capacity, in Ingestion Compute Units (ICUs)
sourcepub fn get_max_units(&self) -> &Option<i32>
pub fn get_max_units(&self) -> &Option<i32>
The maximum pipeline capacity, in Ingestion Compute Units (ICUs)
sourcepub fn pipeline_configuration_body(self, input: impl Into<String>) -> Self
pub fn pipeline_configuration_body(self, input: impl Into<String>) -> Self
The pipeline configuration in YAML format. The command accepts the pipeline configuration as a string or within a .yaml file. If you provide the configuration as a string, each new line must be escaped with \n.
sourcepub fn set_pipeline_configuration_body(self, input: Option<String>) -> Self
pub fn set_pipeline_configuration_body(self, input: Option<String>) -> Self
The pipeline configuration in YAML format. The command accepts the pipeline configuration as a string or within a .yaml file. If you provide the configuration as a string, each new line must be escaped with \n.
sourcepub fn get_pipeline_configuration_body(&self) -> &Option<String>
pub fn get_pipeline_configuration_body(&self) -> &Option<String>
The pipeline configuration in YAML format. The command accepts the pipeline configuration as a string or within a .yaml file. If you provide the configuration as a string, each new line must be escaped with \n.
sourcepub fn log_publishing_options(self, input: LogPublishingOptions) -> Self
pub fn log_publishing_options(self, input: LogPublishingOptions) -> Self
Key-value pairs to configure log publishing.
sourcepub fn set_log_publishing_options(
self,
input: Option<LogPublishingOptions>,
) -> Self
pub fn set_log_publishing_options( self, input: Option<LogPublishingOptions>, ) -> Self
Key-value pairs to configure log publishing.
sourcepub fn get_log_publishing_options(&self) -> &Option<LogPublishingOptions>
pub fn get_log_publishing_options(&self) -> &Option<LogPublishingOptions>
Key-value pairs to configure log publishing.
sourcepub fn buffer_options(self, input: BufferOptions) -> Self
pub fn buffer_options(self, input: BufferOptions) -> Self
Key-value pairs to configure persistent buffering for the pipeline.
sourcepub fn set_buffer_options(self, input: Option<BufferOptions>) -> Self
pub fn set_buffer_options(self, input: Option<BufferOptions>) -> Self
Key-value pairs to configure persistent buffering for the pipeline.
sourcepub fn get_buffer_options(&self) -> &Option<BufferOptions>
pub fn get_buffer_options(&self) -> &Option<BufferOptions>
Key-value pairs to configure persistent buffering for the pipeline.
sourcepub fn encryption_at_rest_options(self, input: EncryptionAtRestOptions) -> Self
pub fn encryption_at_rest_options(self, input: EncryptionAtRestOptions) -> Self
Key-value pairs to configure encryption for data that is written to a persistent buffer.
sourcepub fn set_encryption_at_rest_options(
self,
input: Option<EncryptionAtRestOptions>,
) -> Self
pub fn set_encryption_at_rest_options( self, input: Option<EncryptionAtRestOptions>, ) -> Self
Key-value pairs to configure encryption for data that is written to a persistent buffer.
sourcepub fn get_encryption_at_rest_options(&self) -> &Option<EncryptionAtRestOptions>
pub fn get_encryption_at_rest_options(&self) -> &Option<EncryptionAtRestOptions>
Key-value pairs to configure encryption for data that is written to a persistent buffer.
sourcepub fn build(self) -> Result<UpdatePipelineInput, BuildError>
pub fn build(self) -> Result<UpdatePipelineInput, BuildError>
Consumes the builder and constructs a UpdatePipelineInput.
source§impl UpdatePipelineInputBuilder
impl UpdatePipelineInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<UpdatePipelineOutput, SdkError<UpdatePipelineError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<UpdatePipelineOutput, SdkError<UpdatePipelineError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdatePipelineInputBuilder
impl Clone for UpdatePipelineInputBuilder
source§fn clone(&self) -> UpdatePipelineInputBuilder
fn clone(&self) -> UpdatePipelineInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UpdatePipelineInputBuilder
impl Debug for UpdatePipelineInputBuilder
source§impl Default for UpdatePipelineInputBuilder
impl Default for UpdatePipelineInputBuilder
source§fn default() -> UpdatePipelineInputBuilder
fn default() -> UpdatePipelineInputBuilder
impl StructuralPartialEq for UpdatePipelineInputBuilder
Auto Trait Implementations§
impl Freeze for UpdatePipelineInputBuilder
impl RefUnwindSafe for UpdatePipelineInputBuilder
impl Send for UpdatePipelineInputBuilder
impl Sync for UpdatePipelineInputBuilder
impl Unpin for UpdatePipelineInputBuilder
impl UnwindSafe for UpdatePipelineInputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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