@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MeshServiceDiscovery extends Object implements Serializable, Cloneable, StructuredPojo
An object that represents the service discovery information for a service mesh.
| Constructor and Description |
|---|
MeshServiceDiscovery() |
| Modifier and Type | Method and Description |
|---|---|
MeshServiceDiscovery |
clone() |
boolean |
equals(Object obj) |
String |
getIpPreference()
The IP version to use to control traffic within the mesh.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setIpPreference(String ipPreference)
The IP version to use to control traffic within the mesh.
|
String |
toString()
Returns a string representation of this object.
|
MeshServiceDiscovery |
withIpPreference(IpPreference ipPreference)
The IP version to use to control traffic within the mesh.
|
MeshServiceDiscovery |
withIpPreference(String ipPreference)
The IP version to use to control traffic within the mesh.
|
public void setIpPreference(String ipPreference)
The IP version to use to control traffic within the mesh.
ipPreference - The IP version to use to control traffic within the mesh.IpPreferencepublic String getIpPreference()
The IP version to use to control traffic within the mesh.
IpPreferencepublic MeshServiceDiscovery withIpPreference(String ipPreference)
The IP version to use to control traffic within the mesh.
ipPreference - The IP version to use to control traffic within the mesh.IpPreferencepublic MeshServiceDiscovery withIpPreference(IpPreference ipPreference)
The IP version to use to control traffic within the mesh.
ipPreference - The IP version to use to control traffic within the mesh.IpPreferencepublic String toString()
toString in class ObjectObject.toString()public MeshServiceDiscovery clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.