#[non_exhaustive]pub struct HttpDataSourceConfigBuilder { /* private fields */ }
Expand description
A builder for HttpDataSourceConfig
.
Implementations§
source§impl HttpDataSourceConfigBuilder
impl HttpDataSourceConfigBuilder
sourcepub fn endpoint(self, input: impl Into<String>) -> Self
pub fn endpoint(self, input: impl Into<String>) -> Self
The HTTP URL endpoint. You can specify either the domain name or IP, and port combination, and the URL scheme must be HTTP or HTTPS. If you don't specify the port, AppSync uses the default port 80 for the HTTP endpoint and port 443 for HTTPS endpoints.
sourcepub fn set_endpoint(self, input: Option<String>) -> Self
pub fn set_endpoint(self, input: Option<String>) -> Self
The HTTP URL endpoint. You can specify either the domain name or IP, and port combination, and the URL scheme must be HTTP or HTTPS. If you don't specify the port, AppSync uses the default port 80 for the HTTP endpoint and port 443 for HTTPS endpoints.
sourcepub fn get_endpoint(&self) -> &Option<String>
pub fn get_endpoint(&self) -> &Option<String>
The HTTP URL endpoint. You can specify either the domain name or IP, and port combination, and the URL scheme must be HTTP or HTTPS. If you don't specify the port, AppSync uses the default port 80 for the HTTP endpoint and port 443 for HTTPS endpoints.
The authorization configuration in case the HTTP endpoint requires authorization.
The authorization configuration in case the HTTP endpoint requires authorization.
The authorization configuration in case the HTTP endpoint requires authorization.
sourcepub fn build(self) -> HttpDataSourceConfig
pub fn build(self) -> HttpDataSourceConfig
Consumes the builder and constructs a HttpDataSourceConfig
.
Trait Implementations§
source§impl Clone for HttpDataSourceConfigBuilder
impl Clone for HttpDataSourceConfigBuilder
source§fn clone(&self) -> HttpDataSourceConfigBuilder
fn clone(&self) -> HttpDataSourceConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for HttpDataSourceConfigBuilder
impl Debug for HttpDataSourceConfigBuilder
source§impl Default for HttpDataSourceConfigBuilder
impl Default for HttpDataSourceConfigBuilder
source§fn default() -> HttpDataSourceConfigBuilder
fn default() -> HttpDataSourceConfigBuilder
source§impl PartialEq for HttpDataSourceConfigBuilder
impl PartialEq for HttpDataSourceConfigBuilder
source§fn eq(&self, other: &HttpDataSourceConfigBuilder) -> bool
fn eq(&self, other: &HttpDataSourceConfigBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.