@Generated(value="software.amazon.awssdk:codegen") public final class MeshServiceDiscovery extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MeshServiceDiscovery.Builder,MeshServiceDiscovery>
An object that represents the service discovery information for a service mesh.
| Modifier and Type | Class and Description |
|---|---|
static interface |
MeshServiceDiscovery.Builder |
| Modifier and Type | Method and Description |
|---|---|
static MeshServiceDiscovery.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
IpPreference |
ipPreference()
The IP version to use to control traffic within the mesh.
|
String |
ipPreferenceAsString()
The IP version to use to control traffic within the mesh.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends MeshServiceDiscovery.Builder> |
serializableBuilderClass() |
MeshServiceDiscovery.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final IpPreference ipPreference()
The IP version to use to control traffic within the mesh.
If the service returns an enum value that is not available in the current SDK version, ipPreference will
return IpPreference.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
ipPreferenceAsString().
IpPreferencepublic final String ipPreferenceAsString()
The IP version to use to control traffic within the mesh.
If the service returns an enum value that is not available in the current SDK version, ipPreference will
return IpPreference.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
ipPreferenceAsString().
IpPreferencepublic MeshServiceDiscovery.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<MeshServiceDiscovery.Builder,MeshServiceDiscovery>public static MeshServiceDiscovery.Builder builder()
public static Class<? extends MeshServiceDiscovery.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.