public final class MasterAuth
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.Flags
Constructor and Description |
---|
MasterAuth() |
Modifier and Type | Method and Description |
---|---|
MasterAuth |
clone() |
java.lang.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.
|
java.lang.String |
getClientKey()
[Output only] Base64-encoded private key used by clients to authenticate to the cluster
endpoint.
|
java.lang.String |
getClusterCaCertificate()
[Output only] Base64-encoded public certificate that is the root of trust for the cluster.
|
java.lang.String |
getPassword()
The password to use for HTTP basic authentication to the master endpoint.
|
java.lang.String |
getUsername()
The username to use for HTTP basic authentication to the master endpoint.
|
MasterAuth |
set(java.lang.String fieldName,
java.lang.Object value) |
MasterAuth |
setClientCertificate(java.lang.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(java.lang.String clientKey)
[Output only] Base64-encoded private key used by clients to authenticate to the cluster
endpoint.
|
MasterAuth |
setClusterCaCertificate(java.lang.String clusterCaCertificate)
[Output only] Base64-encoded public certificate that is the root of trust for the cluster.
|
MasterAuth |
setPassword(java.lang.String password)
The password to use for HTTP basic authentication to the master endpoint.
|
MasterAuth |
setUsername(java.lang.String username)
The username to use for HTTP basic authentication to the master endpoint.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getClientCertificate()
null
for nonepublic MasterAuth setClientCertificate(java.lang.String clientCertificate)
clientCertificate
- clientCertificate or null
for nonepublic ClientCertificateConfig getClientCertificateConfig()
null
for nonepublic MasterAuth setClientCertificateConfig(ClientCertificateConfig clientCertificateConfig)
clientCertificateConfig
- clientCertificateConfig or null
for nonepublic java.lang.String getClientKey()
null
for nonepublic MasterAuth setClientKey(java.lang.String clientKey)
clientKey
- clientKey or null
for nonepublic java.lang.String getClusterCaCertificate()
null
for nonepublic MasterAuth setClusterCaCertificate(java.lang.String clusterCaCertificate)
clusterCaCertificate
- clusterCaCertificate or null
for nonepublic java.lang.String getPassword()
null
for nonepublic MasterAuth setPassword(java.lang.String password)
password
- password or null
for nonepublic java.lang.String getUsername()
null
for nonepublic MasterAuth setUsername(java.lang.String username)
username
- username or null
for nonepublic MasterAuth set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public MasterAuth clone()
clone
in class com.google.api.client.json.GenericJson