public final class ClusterConfig 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 Cloud Dataproc API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
ClusterConfig() |
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public AutoscalingConfig getAutoscalingConfig()
null
for nonepublic ClusterConfig setAutoscalingConfig(AutoscalingConfig autoscalingConfig)
autoscalingConfig
- autoscalingConfig or null
for nonepublic String getConfigBucket()
null
for nonepublic ClusterConfig setConfigBucket(String configBucket)
configBucket
- configBucket or null
for nonepublic EncryptionConfig getEncryptionConfig()
null
for nonepublic ClusterConfig setEncryptionConfig(EncryptionConfig encryptionConfig)
encryptionConfig
- encryptionConfig or null
for nonepublic EndpointConfig getEndpointConfig()
null
for nonepublic ClusterConfig setEndpointConfig(EndpointConfig endpointConfig)
endpointConfig
- endpointConfig or null
for nonepublic GceClusterConfig getGceClusterConfig()
null
for nonepublic ClusterConfig setGceClusterConfig(GceClusterConfig gceClusterConfig)
gceClusterConfig
- gceClusterConfig or null
for nonepublic GkeClusterConfig getGkeClusterConfig()
null
for nonepublic ClusterConfig setGkeClusterConfig(GkeClusterConfig gkeClusterConfig)
gkeClusterConfig
- gkeClusterConfig or null
for nonepublic List<NodeInitializationAction> getInitializationActions()
null
for nonepublic ClusterConfig setInitializationActions(List<NodeInitializationAction> initializationActions)
initializationActions
- initializationActions or null
for nonepublic LifecycleConfig getLifecycleConfig()
null
for nonepublic ClusterConfig setLifecycleConfig(LifecycleConfig lifecycleConfig)
lifecycleConfig
- lifecycleConfig or null
for nonepublic InstanceGroupConfig getMasterConfig()
null
for nonepublic ClusterConfig setMasterConfig(InstanceGroupConfig masterConfig)
masterConfig
- masterConfig or null
for nonepublic MetastoreConfig getMetastoreConfig()
null
for nonepublic ClusterConfig setMetastoreConfig(MetastoreConfig metastoreConfig)
metastoreConfig
- metastoreConfig or null
for nonepublic InstanceGroupConfig getSecondaryWorkerConfig()
null
for nonepublic ClusterConfig setSecondaryWorkerConfig(InstanceGroupConfig secondaryWorkerConfig)
secondaryWorkerConfig
- secondaryWorkerConfig or null
for nonepublic SecurityConfig getSecurityConfig()
null
for nonepublic ClusterConfig setSecurityConfig(SecurityConfig securityConfig)
securityConfig
- securityConfig or null
for nonepublic SoftwareConfig getSoftwareConfig()
null
for nonepublic ClusterConfig setSoftwareConfig(SoftwareConfig softwareConfig)
softwareConfig
- softwareConfig or null
for nonepublic String getTempBucket()
null
for nonepublic ClusterConfig setTempBucket(String tempBucket)
tempBucket
- tempBucket or null
for nonepublic InstanceGroupConfig getWorkerConfig()
null
for nonepublic ClusterConfig setWorkerConfig(InstanceGroupConfig workerConfig)
workerConfig
- workerConfig or null
for nonepublic ClusterConfig set(String fieldName, Object value)
set
in class GenericJson
public ClusterConfig clone()
clone
in class GenericJson
Copyright © 2011–2021 Google. All rights reserved.