com.pulumi.kubernetes.meta.v1.inputs.LabelSelectorRequirementArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kubernetes Show documentation
Show all versions of kubernetes Show documentation
A Pulumi package for creating and managing Kubernetes resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.kubernetes.meta.v1.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
/**
* A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
*
*/
public final class LabelSelectorRequirementArgs extends com.pulumi.resources.ResourceArgs {
public static final LabelSelectorRequirementArgs Empty = new LabelSelectorRequirementArgs();
/**
* key is the label key that the selector applies to.
*
*/
@Import(name="key", required=true)
private Output key;
/**
* @return key is the label key that the selector applies to.
*
*/
public Output key() {
return this.key;
}
/**
* operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.
*
*/
@Import(name="operator", required=true)
private Output operator;
/**
* @return operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.
*
*/
public Output operator() {
return this.operator;
}
/**
* values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.
*
*/
@Import(name="values")
private @Nullable Output> values;
/**
* @return values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.
*
*/
public Optional
© 2015 - 2024 Weber Informatics LLC | Privacy Policy