public final class MasterAuth extends 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
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
MasterAuth() |
| Modifier and Type | Method and Description |
|---|---|
MasterAuth |
clone() |
String |
getClientCertificate()
[Output only] Base64-encoded public certificate used by clients to authenticate to the cluster
endpoint.
|
ClientCertificateConfig |
getClientCertificateConfig()
Configuration for client certificate authentication on the cluster.
|
String |
getClientKey()
[Output only] Base64-encoded private key used by clients to authenticate to the cluster
endpoint.
|
String |
getClusterCaCertificate()
[Output only] Base64-encoded public certificate that is the root of trust for the cluster.
|
String |
getPassword()
The password to use for HTTP basic authentication to the master endpoint.
|
String |
getUsername()
The username to use for HTTP basic authentication to the master endpoint.
|
MasterAuth |
set(String fieldName,
Object value) |
MasterAuth |
setClientCertificate(String clientCertificate)
[Output only] Base64-encoded public certificate used by clients to authenticate to the cluster
endpoint.
|
MasterAuth |
setClientCertificateConfig(ClientCertificateConfig clientCertificateConfig)
Configuration for client certificate authentication on the cluster.
|
MasterAuth |
setClientKey(String clientKey)
[Output only] Base64-encoded private key used by clients to authenticate to the cluster
endpoint.
|
MasterAuth |
setClusterCaCertificate(String clusterCaCertificate)
[Output only] Base64-encoded public certificate that is the root of trust for the cluster.
|
MasterAuth |
setPassword(String password)
The password to use for HTTP basic authentication to the master endpoint.
|
MasterAuth |
setUsername(String username)
The username to use for HTTP basic authentication to the master endpoint.
|
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 String getClientCertificate()
null for nonepublic MasterAuth setClientCertificate(String clientCertificate)
clientCertificate - clientCertificate or null for nonepublic ClientCertificateConfig getClientCertificateConfig()
null for nonepublic MasterAuth setClientCertificateConfig(ClientCertificateConfig clientCertificateConfig)
clientCertificateConfig - clientCertificateConfig or null for nonepublic String getClientKey()
null for nonepublic MasterAuth setClientKey(String clientKey)
clientKey - clientKey or null for nonepublic String getClusterCaCertificate()
null for nonepublic MasterAuth setClusterCaCertificate(String clusterCaCertificate)
clusterCaCertificate - clusterCaCertificate or null for nonepublic String getPassword()
null for nonepublic MasterAuth setPassword(String password)
password - password or null for nonepublic String getUsername()
null for nonepublic MasterAuth setUsername(String username)
username - username or null for nonepublic MasterAuth set(String fieldName, Object value)
set in class GenericJsonpublic MasterAuth clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.