public final class SetMaintenancePolicyRequest 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 |
|---|
SetMaintenancePolicyRequest() |
| Modifier and Type | Method and Description |
|---|---|
SetMaintenancePolicyRequest |
clone() |
String |
getClusterId()
Required.
|
MaintenancePolicy |
getMaintenancePolicy()
Required.
|
String |
getName()
The name (project, location, cluster id) of the cluster to set maintenance policy.
|
String |
getProjectId()
Required.
|
String |
getZone()
Required.
|
SetMaintenancePolicyRequest |
set(String fieldName,
Object value) |
SetMaintenancePolicyRequest |
setClusterId(String clusterId)
Required.
|
SetMaintenancePolicyRequest |
setMaintenancePolicy(MaintenancePolicy maintenancePolicy)
Required.
|
SetMaintenancePolicyRequest |
setName(String name)
The name (project, location, cluster id) of the cluster to set maintenance policy.
|
SetMaintenancePolicyRequest |
setProjectId(String projectId)
Required.
|
SetMaintenancePolicyRequest |
setZone(String zone)
Required.
|
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 getClusterId()
null for nonepublic SetMaintenancePolicyRequest setClusterId(String clusterId)
clusterId - clusterId or null for nonepublic MaintenancePolicy getMaintenancePolicy()
null for nonepublic SetMaintenancePolicyRequest setMaintenancePolicy(MaintenancePolicy maintenancePolicy)
maintenancePolicy - maintenancePolicy or null for nonepublic String getName()
null for nonepublic SetMaintenancePolicyRequest setName(String name)
name - name or null for nonepublic String getProjectId()
null for nonepublic SetMaintenancePolicyRequest setProjectId(String projectId)
projectId - projectId or null for nonepublic String getZone()
null for nonepublic SetMaintenancePolicyRequest setZone(String zone)
zone - zone or null for nonepublic SetMaintenancePolicyRequest set(String fieldName, Object value)
set in class GenericJsonpublic SetMaintenancePolicyRequest clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.