Class ClientConfig
- java.lang.Object
-
- org.opensearch.client.opensearch.ml.ClientConfig
-
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable
@JsonpDeserializable @Generated("org.opensearch.client.codegen.CodeGenerator") public class ClientConfig extends java.lang.Object implements PlainJsonSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classClientConfig.BuilderBuilder forClientConfig.
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ClientConfig>_DESERIALIZERJson deserializer forClientConfig
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.IntegerconnectionTimeout()API name:connection_timeoutbooleanequals(java.lang.Object o)inthashCode()java.lang.IntegermaxConnection()API name:max_connectionjava.lang.IntegermaxRetryTimes()API name:max_retry_timesstatic ClientConfigof(java.util.function.Function<ClientConfig.Builder,ObjectBuilder<ClientConfig>> fn)java.lang.IntegerreadTimeout()API name:read_timeoutjava.lang.IntegerretryBackoffMillis()API name:retry_backoff_millisjava.lang.StringretryBackoffPolicy()API name:retry_backoff_policyjava.lang.IntegerretryTimeoutSeconds()API name:retry_timeout_secondsvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupClientConfigDeserializer(ObjectDeserializer<ClientConfig.Builder> op)-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonString
-
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<ClientConfig> _DESERIALIZER
Json deserializer forClientConfig
-
-
Method Detail
-
of
public static ClientConfig of(java.util.function.Function<ClientConfig.Builder,ObjectBuilder<ClientConfig>> fn)
-
connectionTimeout
@Nullable public final java.lang.Integer connectionTimeout()
API name:connection_timeout
-
maxConnection
@Nullable public final java.lang.Integer maxConnection()
API name:max_connection
-
maxRetryTimes
@Nullable public final java.lang.Integer maxRetryTimes()
API name:max_retry_times
-
readTimeout
@Nullable public final java.lang.Integer readTimeout()
API name:read_timeout
-
retryBackoffMillis
@Nullable public final java.lang.Integer retryBackoffMillis()
API name:retry_backoff_millis
-
retryBackoffPolicy
@Nullable public final java.lang.String retryBackoffPolicy()
API name:retry_backoff_policy
-
retryTimeoutSeconds
@Nullable public final java.lang.Integer retryTimeoutSeconds()
API name:retry_timeout_seconds
-
serialize
public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
-
setupClientConfigDeserializer
protected static void setupClientConfigDeserializer(ObjectDeserializer<ClientConfig.Builder> op)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
-