@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HttpDataSourceConfig extends Object implements Serializable, Cloneable, StructuredPojo
Describes a Http data source configuration.
Constructor and Description |
---|
HttpDataSourceConfig() |
Modifier and Type | Method and Description |
---|---|
HttpDataSourceConfig |
clone() |
boolean |
equals(Object obj) |
String |
getEndpoint()
The Http url endpoint.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEndpoint(String endpoint)
The Http url endpoint.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
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(s). If the port is not specified, AWS AppSync will use the default port 80 for 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(s). If the port is not specified, AWS AppSync will use the default port 80 for 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(s). If the port is not specified, AWS AppSync will use the default port 80 for 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(s). If the port is not specified, AWS AppSync will use the default port 80 for 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(s). If the port is not specified, AWS AppSync will use the default port 80 for http
endpoint and port 443 for https endpoints.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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.