public final class HostConfig
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Kubernetes Engine API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
HostConfig() |
| Modifier and Type | Method and Description |
|---|---|
HostConfig |
clone() |
List<CertificateConfig> |
getCa()
CA configures the registry host certificate.
|
List<String> |
getCapabilities()
Capabilities represent the capabilities of the registry host, specifying what operations a host
is capable of performing.
|
List<CertificateConfigPair> |
getClient()
Client configures the registry host client certificate and key.
|
String |
getDialTimeout()
Specifies the maximum duration allowed for a connection attempt to complete.
|
List<RegistryHeader> |
getHeader()
Header configures the registry host headers.
|
String |
getHost()
Host configures the registry host/mirror.
|
Boolean |
getOverridePath()
OverridePath is used to indicate the host's API root endpoint is defined in the URL path rather
than by the API specification.
|
HostConfig |
set(String fieldName,
Object value) |
HostConfig |
setCa(List<CertificateConfig> ca)
CA configures the registry host certificate.
|
HostConfig |
setCapabilities(List<String> capabilities)
Capabilities represent the capabilities of the registry host, specifying what operations a host
is capable of performing.
|
HostConfig |
setClient(List<CertificateConfigPair> client)
Client configures the registry host client certificate and key.
|
HostConfig |
setDialTimeout(String dialTimeout)
Specifies the maximum duration allowed for a connection attempt to complete.
|
HostConfig |
setHeader(List<RegistryHeader> header)
Header configures the registry host headers.
|
HostConfig |
setHost(String host)
Host configures the registry host/mirror.
|
HostConfig |
setOverridePath(Boolean overridePath)
OverridePath is used to indicate the host's API root endpoint is defined in the URL path rather
than by the API specification.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic List<CertificateConfig> getCa()
null for nonepublic HostConfig setCa(List<CertificateConfig> ca)
ca - ca or null for nonepublic List<String> getCapabilities()
null for nonepublic HostConfig setCapabilities(List<String> capabilities)
capabilities - capabilities or null for nonepublic List<CertificateConfigPair> getClient()
null for nonepublic HostConfig setClient(List<CertificateConfigPair> client)
client - client or null for nonepublic String getDialTimeout()
null for nonepublic HostConfig setDialTimeout(String dialTimeout)
dialTimeout - dialTimeout or null for nonepublic List<RegistryHeader> getHeader()
null for nonepublic HostConfig setHeader(List<RegistryHeader> header)
header - header or null for nonepublic String getHost()
null for nonepublic HostConfig setHost(String host)
host - host or null for nonepublic Boolean getOverridePath()
null for nonepublic HostConfig setOverridePath(Boolean overridePath)
overridePath - overridePath or null for nonepublic HostConfig set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic HostConfig clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2026 Google. All rights reserved.