public static interface HttpDataSourceConfig.Builder extends SdkPojo, CopyableBuilder<HttpDataSourceConfig.Builder,HttpDataSourceConfig>
| Modifier and Type | Method and Description |
|---|---|
HttpDataSourceConfig.Builder |
authorizationConfig(AuthorizationConfig authorizationConfig)
The authorization configuration in case the HTTP endpoint requires authorization.
|
default HttpDataSourceConfig.Builder |
authorizationConfig(Consumer<AuthorizationConfig.Builder> authorizationConfig)
The authorization configuration in case the HTTP endpoint requires authorization.
|
HttpDataSourceConfig.Builder |
endpoint(String endpoint)
The HTTP URL endpoint.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildHttpDataSourceConfig.Builder endpoint(String endpoint)
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.
endpoint - 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.HttpDataSourceConfig.Builder authorizationConfig(AuthorizationConfig authorizationConfig)
The authorization configuration in case the HTTP endpoint requires authorization.
authorizationConfig - The authorization configuration in case the HTTP endpoint requires authorization.default HttpDataSourceConfig.Builder authorizationConfig(Consumer<AuthorizationConfig.Builder> authorizationConfig)
The authorization configuration in case the HTTP endpoint requires authorization.
This is a convenience method that creates an instance of theAuthorizationConfig.Builder avoiding the
need to create one manually via AuthorizationConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to authorizationConfig(AuthorizationConfig).authorizationConfig - a consumer that will call methods on AuthorizationConfig.BuilderauthorizationConfig(AuthorizationConfig)Copyright © 2022. All rights reserved.