All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.dataproc.model.NodeGroup.html Maven / Gradle / Ivy

There is a newer version: v1-rev20250111-2.0.0
Show newest version






NodeGroup (Cloud Dataproc API v1-rev20241025-2.0.0)












com.google.api.services.dataproc.model

Class NodeGroup

  • All Implemented Interfaces:
    Cloneable, Map<String,Object>


    public final class NodeGroup
    extends com.google.api.client.json.GenericJson
    Dataproc Node Group. The Dataproc NodeGroup resource is not related to the Dataproc NodeGroupAffinity resource.

    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

    Author:
    Google, Inc.
    • Constructor Detail

      • NodeGroup

        public NodeGroup()
    • Method Detail

      • getLabels

        public Map<String,String> getLabels()
        Optional. Node group labels. Label keys must consist of from 1 to 63 characters and conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). Label values can be empty. If specified, they must consist of from 1 to 63 characters and conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). The node group must have no more than 32 labels.
        Returns:
        value or null for none
      • setLabels

        public NodeGroup setLabels(Map<String,String> labels)
        Optional. Node group labels. Label keys must consist of from 1 to 63 characters and conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). Label values can be empty. If specified, they must consist of from 1 to 63 characters and conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). The node group must have no more than 32 labels.
        Parameters:
        labels - labels or null for none
      • getName

        public String getName()
        The Node group resource name (https://aip.dev/122).
        Returns:
        value or null for none
      • setName

        public NodeGroup setName(String name)
        The Node group resource name (https://aip.dev/122).
        Parameters:
        name - name or null for none
      • getNodeGroupConfig

        public InstanceGroupConfig getNodeGroupConfig()
        Optional. The node group instance group configuration.
        Returns:
        value or null for none
      • setNodeGroupConfig

        public NodeGroup setNodeGroupConfig(InstanceGroupConfig nodeGroupConfig)
        Optional. The node group instance group configuration.
        Parameters:
        nodeGroupConfig - nodeGroupConfig or null for none
      • getRoles

        public List<String> getRoles()
        Required. Node group roles.
        Returns:
        value or null for none
      • setRoles

        public NodeGroup setRoles(List<String> roles)
        Required. Node group roles.
        Parameters:
        roles - roles or null for none
      • set

        public NodeGroup set(String fieldName,
                             Object value)
        Overrides:
        set in class com.google.api.client.json.GenericJson
      • clone

        public NodeGroup clone()
        Overrides:
        clone in class com.google.api.client.json.GenericJson

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy