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

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

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






ManagedCluster (Cloud Dataproc API v1-rev20241025-2.0.0)












com.google.api.services.dataproc.model

Class ManagedCluster

    • Constructor Detail

      • ManagedCluster

        public ManagedCluster()
    • Method Detail

      • getClusterName

        public String getClusterName()
        Required. The cluster name prefix. A unique cluster name will be formed by appending a random suffix.The name must contain only lower-case letters (a-z), numbers (0-9), and hyphens (-). Must begin with a letter. Cannot begin or end with hyphen. Must consist of between 2 and 35 characters.
        Returns:
        value or null for none
      • setClusterName

        public ManagedCluster setClusterName(String clusterName)
        Required. The cluster name prefix. A unique cluster name will be formed by appending a random suffix.The name must contain only lower-case letters (a-z), numbers (0-9), and hyphens (-). Must begin with a letter. Cannot begin or end with hyphen. Must consist of between 2 and 35 characters.
        Parameters:
        clusterName - clusterName or null for none
      • getConfig

        public ClusterConfig getConfig()
        Required. The cluster configuration.
        Returns:
        value or null for none
      • setConfig

        public ManagedCluster setConfig(ClusterConfig config)
        Required. The cluster configuration.
        Parameters:
        config - config or null for none
      • getLabels

        public Map<String,String> getLabels()
        Optional. The labels to associate with this cluster.Label keys must be between 1 and 63 characters long, and must conform to the following PCRE regular expression: \p{Ll}\p{Lo}{0,62}Label values must be between 1 and 63 characters long, and must conform to the following PCRE regular expression: \p{Ll}\p{Lo}\p{N}_-{0,63}No more than 32 labels can be associated with a given cluster.
        Returns:
        value or null for none
      • setLabels

        public ManagedCluster setLabels(Map<String,String> labels)
        Optional. The labels to associate with this cluster.Label keys must be between 1 and 63 characters long, and must conform to the following PCRE regular expression: \p{Ll}\p{Lo}{0,62}Label values must be between 1 and 63 characters long, and must conform to the following PCRE regular expression: \p{Ll}\p{Lo}\p{N}_-{0,63}No more than 32 labels can be associated with a given cluster.
        Parameters:
        labels - labels or null for none
      • set

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

        public ManagedCluster 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