pub struct CreatePipelineFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreatePipeline
.
Creates an OpenSearch Ingestion pipeline. For more information, see Creating Amazon OpenSearch Ingestion pipelines.
Implementations§
source§impl CreatePipelineFluentBuilder
impl CreatePipelineFluentBuilder
sourcepub fn as_input(&self) -> &CreatePipelineInputBuilder
pub fn as_input(&self) -> &CreatePipelineInputBuilder
Access the CreatePipeline as a reference.
sourcepub async fn send(
self
) -> Result<CreatePipelineOutput, SdkError<CreatePipelineError, HttpResponse>>
pub async fn send( self ) -> Result<CreatePipelineOutput, SdkError<CreatePipelineError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CreatePipelineOutput, CreatePipelineError, Self>, SdkError<CreatePipelineError>>
pub async fn customize( self ) -> Result<CustomizableOperation<CreatePipelineOutput, CreatePipelineError, Self>, SdkError<CreatePipelineError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn pipeline_name(self, input: impl Into<String>) -> Self
pub fn pipeline_name(self, input: impl Into<String>) -> Self
The name of the OpenSearch Ingestion pipeline to create. Pipeline names are unique across the pipelines owned by an account within an Amazon Web Services Region.
sourcepub fn set_pipeline_name(self, input: Option<String>) -> Self
pub fn set_pipeline_name(self, input: Option<String>) -> Self
The name of the OpenSearch Ingestion pipeline to create. Pipeline names are unique across the pipelines owned by an account within an Amazon Web Services Region.
sourcepub fn get_pipeline_name(&self) -> &Option<String>
pub fn get_pipeline_name(&self) -> &Option<String>
The name of the OpenSearch Ingestion pipeline to create. Pipeline names are unique across the pipelines owned by an account within an Amazon Web Services Region.
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 vpc_options(self, input: VpcOptions) -> Self
pub fn vpc_options(self, input: VpcOptions) -> Self
Container for the values required to configure VPC access for the pipeline. If you don't specify these values, OpenSearch Ingestion creates the pipeline with a public endpoint.
sourcepub fn set_vpc_options(self, input: Option<VpcOptions>) -> Self
pub fn set_vpc_options(self, input: Option<VpcOptions>) -> Self
Container for the values required to configure VPC access for the pipeline. If you don't specify these values, OpenSearch Ingestion creates the pipeline with a public endpoint.
sourcepub fn get_vpc_options(&self) -> &Option<VpcOptions>
pub fn get_vpc_options(&self) -> &Option<VpcOptions>
Container for the values required to configure VPC access for the pipeline. If you don't specify these values, OpenSearch Ingestion creates the pipeline with a public endpoint.
Appends an item to Tags
.
To override the contents of this collection use set_tags
.
List of tags to add to the pipeline upon creation.
List of tags to add to the pipeline upon creation.
List of tags to add to the pipeline upon creation.
Trait Implementations§
source§impl Clone for CreatePipelineFluentBuilder
impl Clone for CreatePipelineFluentBuilder
source§fn clone(&self) -> CreatePipelineFluentBuilder
fn clone(&self) -> CreatePipelineFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more