#[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
impl StructuralPartialEq for HttpDataSourceConfigBuilder
Auto Trait Implementations§
impl Freeze for HttpDataSourceConfigBuilder
impl RefUnwindSafe for HttpDataSourceConfigBuilder
impl Send for HttpDataSourceConfigBuilder
impl Sync for HttpDataSourceConfigBuilder
impl Unpin for HttpDataSourceConfigBuilder
impl UnwindSafe for HttpDataSourceConfigBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more