@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2021-12-10T19:11:23.904Z[Etc/UTC]") public class V1beta1ResourcePolicyRule extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SERIALIZED_NAME_API_GROUPS |
static String |
SERIALIZED_NAME_CLUSTER_SCOPE |
static String |
SERIALIZED_NAME_NAMESPACES |
static String |
SERIALIZED_NAME_RESOURCES |
static String |
SERIALIZED_NAME_VERBS |
Constructor and Description |
---|
V1beta1ResourcePolicyRule() |
Modifier and Type | Method and Description |
---|---|
V1beta1ResourcePolicyRule |
addApiGroupsItem(String apiGroupsItem) |
V1beta1ResourcePolicyRule |
addNamespacesItem(String namespacesItem) |
V1beta1ResourcePolicyRule |
addResourcesItem(String resourcesItem) |
V1beta1ResourcePolicyRule |
addVerbsItem(String verbsItem) |
V1beta1ResourcePolicyRule |
apiGroups(List<String> apiGroups) |
V1beta1ResourcePolicyRule |
clusterScope(Boolean clusterScope) |
boolean |
equals(Object o) |
List<String> |
getApiGroups()
`apiGroups` is a list of matching API groups and may not be empty.
|
Boolean |
getClusterScope()
`clusterScope` indicates whether to match requests that do not specify a namespace
(which happens either because the resource is not namespaced or the request targets all
namespaces).
|
List<String> |
getNamespaces()
`namespaces` is a list of target namespaces that restricts matches.
|
List<String> |
getResources()
`resources` is a list of matching resources (i.e., lowercase and plural) with, if
desired, subresource.
|
List<String> |
getVerbs()
`verbs` is a list of matching verbs and may not be empty.
|
int |
hashCode() |
V1beta1ResourcePolicyRule |
namespaces(List<String> namespaces) |
V1beta1ResourcePolicyRule |
resources(List<String> resources) |
void |
setApiGroups(List<String> apiGroups) |
void |
setClusterScope(Boolean clusterScope) |
void |
setNamespaces(List<String> namespaces) |
void |
setResources(List<String> resources) |
void |
setVerbs(List<String> verbs) |
String |
toString() |
V1beta1ResourcePolicyRule |
verbs(List<String> verbs) |
public static final String SERIALIZED_NAME_API_GROUPS
public static final String SERIALIZED_NAME_CLUSTER_SCOPE
public static final String SERIALIZED_NAME_NAMESPACES
public static final String SERIALIZED_NAME_RESOURCES
public static final String SERIALIZED_NAME_VERBS
public V1beta1ResourcePolicyRule apiGroups(List<String> apiGroups)
public V1beta1ResourcePolicyRule addApiGroupsItem(String apiGroupsItem)
public List<String> getApiGroups()
public V1beta1ResourcePolicyRule clusterScope(Boolean clusterScope)
@Nullable public Boolean getClusterScope()
public void setClusterScope(Boolean clusterScope)
public V1beta1ResourcePolicyRule namespaces(List<String> namespaces)
public V1beta1ResourcePolicyRule addNamespacesItem(String namespacesItem)
@Nullable public List<String> getNamespaces()
public V1beta1ResourcePolicyRule resources(List<String> resources)
public V1beta1ResourcePolicyRule addResourcesItem(String resourcesItem)
public List<String> getResources()
public V1beta1ResourcePolicyRule verbs(List<String> verbs)
public V1beta1ResourcePolicyRule addVerbsItem(String verbsItem)
public List<String> getVerbs()
Copyright © 2022. All rights reserved.