pub struct Builder { /* private fields */ }
Expand description
A builder for OpenSearchServiceDataSourceConfig
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn set_endpoint(self, input: Option<String>) -> Self
pub fn set_endpoint(self, input: Option<String>) -> Self
The endpoint.
sourcepub fn aws_region(self, input: impl Into<String>) -> Self
pub fn aws_region(self, input: impl Into<String>) -> Self
The Amazon Web Services Region.
sourcepub fn set_aws_region(self, input: Option<String>) -> Self
pub fn set_aws_region(self, input: Option<String>) -> Self
The Amazon Web Services Region.
sourcepub fn build(self) -> OpenSearchServiceDataSourceConfig
pub fn build(self) -> OpenSearchServiceDataSourceConfig
Consumes the builder and constructs a OpenSearchServiceDataSourceConfig
.