Package org.cdk8s.plus24.k8s
Interface ScopedResourceSelectorRequirement
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ScopedResourceSelectorRequirement.Jsii$Proxy
@Generated(value="jsii-pacmak/1.79.0 (build b22f628)", date="2023-03-31T02:28:42.043Z") @Stability(Stable) public interface ScopedResourceSelectorRequirement extends software.amazon.jsii.JsiiSerializable
A scoped-resource selector requirement is a selector that contains values, a scope name, and an operator that relates the scope name and values.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ScopedResourceSelectorRequirement.Builder
A builder forScopedResourceSelectorRequirement
static class
ScopedResourceSelectorRequirement.Jsii$Proxy
An implementation forScopedResourceSelectorRequirement
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static ScopedResourceSelectorRequirement.Builder
builder()
String
getOperator()
Represents a scope's relationship to a set of values.String
getScopeName()
The name of the scope that the selector applies to.default List<String>
getValues()
An array of string values.
-
-
-
Method Detail
-
getOperator
@Stability(Stable) @NotNull String getOperator()
Represents a scope's relationship to a set of values.Valid operators are In, NotIn, Exists, DoesNotExist.
-
getScopeName
@Stability(Stable) @NotNull String getScopeName()
The name of the scope that the selector applies to.
-
getValues
@Stability(Stable) @Nullable default List<String> getValues()
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.
-
builder
@Stability(Stable) static ScopedResourceSelectorRequirement.Builder builder()
-
-