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

target.apidocs.com.google.api.services.compute.model.SchedulingNodeAffinity.html Maven / Gradle / Ivy

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






SchedulingNodeAffinity (Compute Engine API alpha-rev20200526-1.30.9)












com.google.api.services.compute.model

Class SchedulingNodeAffinity

    • Constructor Detail

      • SchedulingNodeAffinity

        public SchedulingNodeAffinity()
    • Method Detail

      • getKey

        public String getKey()
        Corresponds to the label key of Node resource.
        Returns:
        value or null for none
      • setKey

        public SchedulingNodeAffinity setKey(String key)
        Corresponds to the label key of Node resource.
        Parameters:
        key - key or null for none
      • getOperator

        public String getOperator()
        Defines the operation of node selection. Valid operators are IN for affinity and NOT_IN for anti-affinity.
        Returns:
        value or null for none
      • setOperator

        public SchedulingNodeAffinity setOperator(String operator)
        Defines the operation of node selection. Valid operators are IN for affinity and NOT_IN for anti-affinity.
        Parameters:
        operator - operator or null for none
      • getValues

        public List<String> getValues()
        Corresponds to the label values of Node resource.
        Returns:
        value or null for none
      • setValues

        public SchedulingNodeAffinity setValues(List<String> values)
        Corresponds to the label values of Node resource.
        Parameters:
        values - values or null for none

Copyright © 2011–2020 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy