Class MeshServiceDiscovery
- java.lang.Object
-
- software.amazon.awssdk.services.appmesh.model.MeshServiceDiscovery
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<MeshServiceDiscovery.Builder,MeshServiceDiscovery>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceMeshServiceDiscovery.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MeshServiceDiscovery.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IpPreferenceipPreference()The IP version to use to control traffic within the mesh.StringipPreferenceAsString()The IP version to use to control traffic within the mesh.List<SdkField<?>>sdkFields()static Class<? extends MeshServiceDiscovery.Builder>serializableBuilderClass()MeshServiceDiscovery.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
ipPreference
public 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,
ipPreferencewill returnIpPreference.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromipPreferenceAsString().- Returns:
- The IP version to use to control traffic within the mesh.
- See Also:
IpPreference
-
ipPreferenceAsString
public 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,
ipPreferencewill returnIpPreference.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromipPreferenceAsString().- Returns:
- The IP version to use to control traffic within the mesh.
- See Also:
IpPreference
-
toBuilder
public MeshServiceDiscovery.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<MeshServiceDiscovery.Builder,MeshServiceDiscovery>
-
builder
public static MeshServiceDiscovery.Builder builder()
-
serializableBuilderClass
public static Class<? extends MeshServiceDiscovery.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-