Class ClientConnectionOverrides
- java.lang.Object
-
- io.fabric8.openshift.api.model.config.v1.ClientConnectionOverrides
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<ClientConnectionOverridesBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class ClientConnectionOverrides extends Object implements io.fabric8.kubernetes.api.builder.Editable<ClientConnectionOverridesBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClientConnectionOverrides()No args constructor for use in serializationClientConnectionOverrides(String acceptContentTypes, Integer burst, String contentType, Float qps)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClientConnectionOverridesBuilderedit()StringgetAcceptContentTypes()acceptContentTypes defines the Accept header sent by clients when connecting to a server, overriding the default value of 'application/json'.Map<String,Object>getAdditionalProperties()IntegergetBurst()burst allows extra queries to accumulate when a client is exceeding its rate.StringgetContentType()contentType is the content type used when sending data to the server from this client.FloatgetQps()qps controls the number of queries per second allowed for this connection.voidsetAcceptContentTypes(String acceptContentTypes)acceptContentTypes defines the Accept header sent by clients when connecting to a server, overriding the default value of 'application/json'.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetBurst(Integer burst)burst allows extra queries to accumulate when a client is exceeding its rate.voidsetContentType(String contentType)contentType is the content type used when sending data to the server from this client.voidsetQps(Float qps)qps controls the number of queries per second allowed for this connection.ClientConnectionOverridesBuildertoBuilder()
-
-
-
Method Detail
-
getAcceptContentTypes
public String getAcceptContentTypes()
acceptContentTypes defines the Accept header sent by clients when connecting to a server, overriding the default value of 'application/json'. This field will control all connections to the server used by a particular client.
-
setAcceptContentTypes
public void setAcceptContentTypes(String acceptContentTypes)
acceptContentTypes defines the Accept header sent by clients when connecting to a server, overriding the default value of 'application/json'. This field will control all connections to the server used by a particular client.
-
getBurst
public Integer getBurst()
burst allows extra queries to accumulate when a client is exceeding its rate.
-
setBurst
public void setBurst(Integer burst)
burst allows extra queries to accumulate when a client is exceeding its rate.
-
getContentType
public String getContentType()
contentType is the content type used when sending data to the server from this client.
-
setContentType
public void setContentType(String contentType)
contentType is the content type used when sending data to the server from this client.
-
getQps
public Float getQps()
qps controls the number of queries per second allowed for this connection.
-
setQps
public void setQps(Float qps)
qps controls the number of queries per second allowed for this connection.
-
edit
public ClientConnectionOverridesBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<ClientConnectionOverridesBuilder>
-
toBuilder
public ClientConnectionOverridesBuilder toBuilder()
-
-