@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 configuration in case the HTTP endpoint requires authorization.
|
String |
getEndpoint()
The HTTP URL endpoint.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAuthorizationConfig(AuthorizationConfig authorizationConfig)
The authorization configuration 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 configuration 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 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.public String getEndpoint()
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.
public HttpDataSourceConfig withEndpoint(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.public void setAuthorizationConfig(AuthorizationConfig authorizationConfig)
The authorization configuration in case the HTTP endpoint requires authorization.
authorizationConfig
- The authorization configuration in case the HTTP endpoint requires authorization.public AuthorizationConfig getAuthorizationConfig()
The authorization configuration in case the HTTP endpoint requires authorization.
public HttpDataSourceConfig withAuthorizationConfig(AuthorizationConfig authorizationConfig)
The authorization configuration in case the HTTP endpoint requires authorization.
authorizationConfig
- The authorization configuration in case the HTTP endpoint requires authorization.public String toString()
toString
in class Object
Object.toString()
public HttpDataSourceConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.