@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.IpPreference
public String getIpPreference()
The IP version to use to control traffic within the mesh.
IpPreference
public 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.IpPreference
public 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.IpPreference
public String toString()
toString
in class Object
Object.toString()
public MeshServiceDiscovery clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.