@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HttpDataSourceConfig extends Object implements Serializable, Cloneable, StructuredPojo
Describes an HTTP data source configuration.
Constructor and Description |
---|
HttpDataSourceConfig() |
Modifier and Type | Method and Description |
---|---|
HttpDataSourceConfig |
clone() |
boolean |
equals(Object obj) |
AuthorizationConfig |
getAuthorizationConfig()
The authorization config in case the HTTP endpoint requires authorization.
|
String |
getEndpoint()
The HTTP URL endpoint.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAuthorizationConfig(AuthorizationConfig authorizationConfig)
The authorization config in case the HTTP endpoint requires authorization.
|
void |
setEndpoint(String endpoint)
The HTTP URL endpoint.
|
String |
toString()
Returns a string representation of this object.
|
HttpDataSourceConfig |
withAuthorizationConfig(AuthorizationConfig authorizationConfig)
The authorization config in case the HTTP endpoint requires authorization.
|
HttpDataSourceConfig |
withEndpoint(String endpoint)
The HTTP URL endpoint.
|
public void setEndpoint(String endpoint)
The HTTP URL endpoint. You can either specify the domain name or IP, and port combination, and the URL scheme must be HTTP or HTTPS. If the port is not specified, AWS AppSync uses the default port 80 for the HTTP endpoint and port 443 for HTTPS endpoints.
endpoint
- The HTTP URL endpoint. You can either specify the domain name or IP, and port combination, and the URL
scheme must be HTTP or HTTPS. If the port is not specified, AWS AppSync uses the default port 80 for the
HTTP endpoint and port 443 for HTTPS endpoints.public String getEndpoint()
The HTTP URL endpoint. You can either specify the domain name or IP, and port combination, and the URL scheme must be HTTP or HTTPS. If the port is not specified, AWS AppSync uses the default port 80 for the HTTP endpoint and port 443 for HTTPS endpoints.
public HttpDataSourceConfig withEndpoint(String endpoint)
The HTTP URL endpoint. You can either specify the domain name or IP, and port combination, and the URL scheme must be HTTP or HTTPS. If the port is not specified, AWS AppSync uses the default port 80 for the HTTP endpoint and port 443 for HTTPS endpoints.
endpoint
- The HTTP URL endpoint. You can either specify the domain name or IP, and port combination, and the URL
scheme must be HTTP or HTTPS. If the port is not specified, AWS AppSync uses the default port 80 for the
HTTP endpoint and port 443 for HTTPS endpoints.public void setAuthorizationConfig(AuthorizationConfig authorizationConfig)
The authorization config in case the HTTP endpoint requires authorization.
authorizationConfig
- The authorization config in case the HTTP endpoint requires authorization.public AuthorizationConfig getAuthorizationConfig()
The authorization config in case the HTTP endpoint requires authorization.
public HttpDataSourceConfig withAuthorizationConfig(AuthorizationConfig authorizationConfig)
The authorization config in case the HTTP endpoint requires authorization.
authorizationConfig
- The authorization config in case the HTTP endpoint requires authorization.public String toString()
toString
in class Object
Object.toString()
public HttpDataSourceConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2019. All rights reserved.