#[non_exhaustive]pub struct CreatePipelineInputBuilder { /* private fields */ }
Expand description
A builder for CreatePipelineInput
.
Implementations§
source§impl CreatePipelineInputBuilder
impl CreatePipelineInputBuilder
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.
sourcepub fn build(self) -> Result<CreatePipelineInput, BuildError>
pub fn build(self) -> Result<CreatePipelineInput, BuildError>
Consumes the builder and constructs a CreatePipelineInput
.
source§impl CreatePipelineInputBuilder
impl CreatePipelineInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreatePipelineOutput, SdkError<CreatePipelineError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreatePipelineOutput, SdkError<CreatePipelineError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreatePipelineInputBuilder
impl Clone for CreatePipelineInputBuilder
source§fn clone(&self) -> CreatePipelineInputBuilder
fn clone(&self) -> CreatePipelineInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreatePipelineInputBuilder
impl Debug for CreatePipelineInputBuilder
source§impl Default for CreatePipelineInputBuilder
impl Default for CreatePipelineInputBuilder
source§fn default() -> CreatePipelineInputBuilder
fn default() -> CreatePipelineInputBuilder
source§impl PartialEq for CreatePipelineInputBuilder
impl PartialEq for CreatePipelineInputBuilder
source§fn eq(&self, other: &CreatePipelineInputBuilder) -> bool
fn eq(&self, other: &CreatePipelineInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.