@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Endpoint extends Object implements Serializable, Cloneable, StructuredPojo
Information about the endpoint.
| Constructor and Description | 
|---|
| Endpoint() | 
| Modifier and Type | Method and Description | 
|---|---|
| Endpoint | clone() | 
| boolean | equals(Object obj) | 
| String | getAddress()
 Address of the endpoint. | 
| String | getType()
 Type of the endpoint. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setAddress(String address)
 Address of the endpoint. | 
| void | setType(String type)
 Type of the endpoint. | 
| String | toString()Returns a string representation of this object. | 
| Endpoint | withAddress(String address)
 Address of the endpoint. | 
| Endpoint | withType(EndpointType type)
 Type of the endpoint. | 
| Endpoint | withType(String type)
 Type of the endpoint. | 
public void setType(String type)
Type of the endpoint.
type - Type of the endpoint.EndpointTypepublic String getType()
Type of the endpoint.
EndpointTypepublic Endpoint withType(String type)
Type of the endpoint.
type - Type of the endpoint.EndpointTypepublic Endpoint withType(EndpointType type)
Type of the endpoint.
type - Type of the endpoint.EndpointTypepublic void setAddress(String address)
Address of the endpoint.
address - Address of the endpoint.public String getAddress()
Address of the endpoint.
public Endpoint withAddress(String address)
Address of the endpoint.
address - Address of the endpoint.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.