Class GetWeightedRoutingResponse
java.lang.Object
org.opensearch.client.opensearch.cluster.weighted_routing.WeightsBase
org.opensearch.client.opensearch.cluster.GetWeightedRoutingResponse
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<GetWeightedRoutingResponse.Builder,GetWeightedRoutingResponse>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class GetWeightedRoutingResponse
extends WeightsBase
implements ToCopyableBuilder<GetWeightedRoutingResponse.Builder,GetWeightedRoutingResponse>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.opensearch.client.opensearch.cluster.weighted_routing.WeightsBase
WeightsBase.AbstractBuilder<BuilderT extends WeightsBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<GetWeightedRoutingResponse> Json deserializer forGetWeightedRoutingResponse -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final BooleanAPI name:discovered_cluster_managerbooleaninthashCode()static GetWeightedRoutingResponseprotected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidsetupGetWeightedRoutingResponseDeserializer(ObjectDeserializer<GetWeightedRoutingResponse.Builder> op) Create a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class org.opensearch.client.opensearch.cluster.weighted_routing.WeightsBase
serialize, setupWeightsBaseDeserializer, version, weightsMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forGetWeightedRoutingResponse
-
-
Method Details
-
of
public static GetWeightedRoutingResponse of(Function<GetWeightedRoutingResponse.Builder, ObjectBuilder<GetWeightedRoutingResponse>> fn) -
discoveredClusterManager
API name:discovered_cluster_manager -
serializeInternal
- Overrides:
serializeInternalin classWeightsBase
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<GetWeightedRoutingResponse.Builder,GetWeightedRoutingResponse> - Returns:
- a new builder instance.
-
builder
-
setupGetWeightedRoutingResponseDeserializer
protected static void setupGetWeightedRoutingResponseDeserializer(ObjectDeserializer<GetWeightedRoutingResponse.Builder> op) -
hashCode
public int hashCode()- Overrides:
hashCodein classWeightsBase
-
equals
- Overrides:
equalsin classWeightsBase
-