public final class GceClusterConfig 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 |
---|
GceClusterConfig() |
Modifier and Type | Method and Description |
---|---|
GceClusterConfig |
clone() |
Boolean |
getInternalIpOnly()
Optional.
|
Map<String,String> |
getMetadata()
The Compute Engine metadata entries to add to all instances (see Project and instance metadata
(https://cloud.google.com/compute/docs/storing-retrieving-
metadata#project_and_instance_metadata)).
|
String |
getNetworkUri()
Optional.
|
NodeGroupAffinity |
getNodeGroupAffinity()
Optional.
|
String |
getPrivateIpv6GoogleAccess()
Optional.
|
ReservationAffinity |
getReservationAffinity()
Optional.
|
String |
getServiceAccount()
Optional.
|
List<String> |
getServiceAccountScopes()
Optional.
|
ShieldedInstanceConfig |
getShieldedInstanceConfig()
Optional.
|
String |
getSubnetworkUri()
Optional.
|
List<String> |
getTags()
The Compute Engine tags to add to all instances (see Tagging instances
(https://cloud.google.com/compute/docs/label-or-tag-resources#tags)).
|
String |
getZoneUri()
Optional.
|
GceClusterConfig |
set(String fieldName,
Object value) |
GceClusterConfig |
setInternalIpOnly(Boolean internalIpOnly)
Optional.
|
GceClusterConfig |
setMetadata(Map<String,String> metadata)
The Compute Engine metadata entries to add to all instances (see Project and instance metadata
(https://cloud.google.com/compute/docs/storing-retrieving-
metadata#project_and_instance_metadata)).
|
GceClusterConfig |
setNetworkUri(String networkUri)
Optional.
|
GceClusterConfig |
setNodeGroupAffinity(NodeGroupAffinity nodeGroupAffinity)
Optional.
|
GceClusterConfig |
setPrivateIpv6GoogleAccess(String privateIpv6GoogleAccess)
Optional.
|
GceClusterConfig |
setReservationAffinity(ReservationAffinity reservationAffinity)
Optional.
|
GceClusterConfig |
setServiceAccount(String serviceAccount)
Optional.
|
GceClusterConfig |
setServiceAccountScopes(List<String> serviceAccountScopes)
Optional.
|
GceClusterConfig |
setShieldedInstanceConfig(ShieldedInstanceConfig shieldedInstanceConfig)
Optional.
|
GceClusterConfig |
setSubnetworkUri(String subnetworkUri)
Optional.
|
GceClusterConfig |
setTags(List<String> tags)
The Compute Engine tags to add to all instances (see Tagging instances
(https://cloud.google.com/compute/docs/label-or-tag-resources#tags)).
|
GceClusterConfig |
setZoneUri(String zoneUri)
Optional.
|
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 Boolean getInternalIpOnly()
null
for nonepublic GceClusterConfig setInternalIpOnly(Boolean internalIpOnly)
internalIpOnly
- internalIpOnly or null
for nonepublic Map<String,String> getMetadata()
null
for nonepublic GceClusterConfig setMetadata(Map<String,String> metadata)
metadata
- metadata or null
for nonepublic String getNetworkUri()
null
for nonepublic GceClusterConfig setNetworkUri(String networkUri)
networkUri
- networkUri or null
for nonepublic NodeGroupAffinity getNodeGroupAffinity()
null
for nonepublic GceClusterConfig setNodeGroupAffinity(NodeGroupAffinity nodeGroupAffinity)
nodeGroupAffinity
- nodeGroupAffinity or null
for nonepublic String getPrivateIpv6GoogleAccess()
null
for nonepublic GceClusterConfig setPrivateIpv6GoogleAccess(String privateIpv6GoogleAccess)
privateIpv6GoogleAccess
- privateIpv6GoogleAccess or null
for nonepublic ReservationAffinity getReservationAffinity()
null
for nonepublic GceClusterConfig setReservationAffinity(ReservationAffinity reservationAffinity)
reservationAffinity
- reservationAffinity or null
for nonepublic String getServiceAccount()
null
for nonepublic GceClusterConfig setServiceAccount(String serviceAccount)
serviceAccount
- serviceAccount or null
for nonepublic List<String> getServiceAccountScopes()
null
for nonepublic GceClusterConfig setServiceAccountScopes(List<String> serviceAccountScopes)
serviceAccountScopes
- serviceAccountScopes or null
for nonepublic ShieldedInstanceConfig getShieldedInstanceConfig()
null
for nonepublic GceClusterConfig setShieldedInstanceConfig(ShieldedInstanceConfig shieldedInstanceConfig)
shieldedInstanceConfig
- shieldedInstanceConfig or null
for nonepublic String getSubnetworkUri()
null
for nonepublic GceClusterConfig setSubnetworkUri(String subnetworkUri)
subnetworkUri
- subnetworkUri or null
for nonepublic List<String> getTags()
null
for nonepublic GceClusterConfig setTags(List<String> tags)
tags
- tags or null
for nonepublic String getZoneUri()
null
for nonepublic GceClusterConfig setZoneUri(String zoneUri)
zoneUri
- zoneUri or null
for nonepublic GceClusterConfig set(String fieldName, Object value)
set
in class GenericJson
public GceClusterConfig clone()
clone
in class GenericJson
Copyright © 2011–2021 Google. All rights reserved.