Struct aws_sdk_iot::types::builders::ElasticsearchActionBuilder
source · #[non_exhaustive]pub struct ElasticsearchActionBuilder { /* private fields */ }
Expand description
A builder for ElasticsearchAction
.
Implementations§
source§impl ElasticsearchActionBuilder
impl ElasticsearchActionBuilder
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
The IAM role ARN that has access to OpenSearch.
sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
The IAM role ARN that has access to OpenSearch.
sourcepub fn endpoint(self, input: impl Into<String>) -> Self
pub fn endpoint(self, input: impl Into<String>) -> Self
The endpoint of your OpenSearch domain.
sourcepub fn set_endpoint(self, input: Option<String>) -> Self
pub fn set_endpoint(self, input: Option<String>) -> Self
The endpoint of your OpenSearch domain.
sourcepub fn index(self, input: impl Into<String>) -> Self
pub fn index(self, input: impl Into<String>) -> Self
The index where you want to store your data.
sourcepub fn set_index(self, input: Option<String>) -> Self
pub fn set_index(self, input: Option<String>) -> Self
The index where you want to store your data.
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The unique identifier for the document you are storing.
sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The unique identifier for the document you are storing.
sourcepub fn build(self) -> ElasticsearchAction
pub fn build(self) -> ElasticsearchAction
Consumes the builder and constructs a ElasticsearchAction
.
Trait Implementations§
source§impl Clone for ElasticsearchActionBuilder
impl Clone for ElasticsearchActionBuilder
source§fn clone(&self) -> ElasticsearchActionBuilder
fn clone(&self) -> ElasticsearchActionBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ElasticsearchActionBuilder
impl Debug for ElasticsearchActionBuilder
source§impl Default for ElasticsearchActionBuilder
impl Default for ElasticsearchActionBuilder
source§fn default() -> ElasticsearchActionBuilder
fn default() -> ElasticsearchActionBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<ElasticsearchActionBuilder> for ElasticsearchActionBuilder
impl PartialEq<ElasticsearchActionBuilder> for ElasticsearchActionBuilder
source§fn eq(&self, other: &ElasticsearchActionBuilder) -> bool
fn eq(&self, other: &ElasticsearchActionBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.