Class ScopeSelector
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.core.v1.ScopeSelector
-
- All Implemented Interfaces:
com.marcnuri.yakc.model.Model
public class ScopeSelector extends java.lang.Object implements com.marcnuri.yakc.model.Model
A scope selector represents the AND of the selectors represented by the scoped-resource selector requirements.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ScopeSelector.Builder
-
Constructor Summary
Constructors Constructor Description ScopeSelector()
ScopeSelector(java.util.List<ScopedResourceSelectorRequirement> matchExpressions)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ScopeSelector.Builder
builder()
protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
java.util.List<ScopedResourceSelectorRequirement>
getMatchExpressions()
A list of scope selector requirements by scope of the resources.int
hashCode()
void
setMatchExpressions(java.util.List<ScopedResourceSelectorRequirement> matchExpressions)
A list of scope selector requirements by scope of the resources.ScopeSelector.Builder
toBuilder()
java.lang.String
toString()
-
-
-
Constructor Detail
-
ScopeSelector
public ScopeSelector(java.util.List<ScopedResourceSelectorRequirement> matchExpressions)
-
ScopeSelector
public ScopeSelector()
-
-
Method Detail
-
builder
public static ScopeSelector.Builder builder()
-
toBuilder
public ScopeSelector.Builder toBuilder()
-
getMatchExpressions
public java.util.List<ScopedResourceSelectorRequirement> getMatchExpressions()
A list of scope selector requirements by scope of the resources.
-
setMatchExpressions
public void setMatchExpressions(java.util.List<ScopedResourceSelectorRequirement> matchExpressions)
A list of scope selector requirements by scope of the resources.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-