Struct aws_sdk_appsync::model::http_data_source_config::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for HttpDataSourceConfig
.
Implementations§
source§impl Builder
impl Builder
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.
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
.