Struct aws_sdk_iot::types::builders::OpenSearchActionBuilder
source · #[non_exhaustive]pub struct OpenSearchActionBuilder { /* private fields */ }
Expand description
A builder for OpenSearchAction
.
Implementations§
source§impl OpenSearchActionBuilder
impl OpenSearchActionBuilder
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 OpenSearch 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 OpenSearch 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) -> OpenSearchAction
pub fn build(self) -> OpenSearchAction
Consumes the builder and constructs a OpenSearchAction
.
Trait Implementations§
source§impl Clone for OpenSearchActionBuilder
impl Clone for OpenSearchActionBuilder
source§fn clone(&self) -> OpenSearchActionBuilder
fn clone(&self) -> OpenSearchActionBuilder
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 OpenSearchActionBuilder
impl Debug for OpenSearchActionBuilder
source§impl Default for OpenSearchActionBuilder
impl Default for OpenSearchActionBuilder
source§fn default() -> OpenSearchActionBuilder
fn default() -> OpenSearchActionBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<OpenSearchActionBuilder> for OpenSearchActionBuilder
impl PartialEq<OpenSearchActionBuilder> for OpenSearchActionBuilder
source§fn eq(&self, other: &OpenSearchActionBuilder) -> bool
fn eq(&self, other: &OpenSearchActionBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.