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 Google Container Engine API. For a detailed explanation see: http://code.google.com/p/google-http-java-client/wiki/JSON
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
MasterAuth() |
| Modifier and Type | Method and Description |
|---|---|
MasterAuth |
clone() |
java.lang.String |
getPassword()
The password to use when accessing the Kubernetes master endpoint.
|
java.lang.String |
getUser()
The username to use when accessing the Kubernetes master endpoint.
|
MasterAuth |
set(java.lang.String fieldName,
java.lang.Object value) |
MasterAuth |
setPassword(java.lang.String password)
The password to use when accessing the Kubernetes master endpoint.
|
MasterAuth |
setUser(java.lang.String user)
The username to use when accessing the Kubernetes master endpoint.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getPassword()
null for nonepublic MasterAuth setPassword(java.lang.String password)
password - password or null for nonepublic java.lang.String getUser()
null for nonepublic MasterAuth setUser(java.lang.String user)
user - user or null for nonepublic MasterAuth set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic MasterAuth clone()
clone in class com.google.api.client.json.GenericJson