@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.EndpointType
public String getType()
Type of the endpoint.
EndpointType
public Endpoint withType(String type)
Type of the endpoint.
type
- Type of the endpoint.EndpointType
public Endpoint withType(EndpointType type)
Type of the endpoint.
type
- Type of the endpoint.EndpointType
public 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 Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.