Class V1ResourceAttributes
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1ResourceAttributes
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1ResourceAttributes
extends Object
ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interface
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getGroup()
Group is the API Group of the Resource.getName()
Name is the name of the resource being requested for a \"get\" or deleted for a \"delete\".Namespace is the namespace of the action being requested.Resource is one of the existing resource types.Subresource is one of the existing resource types.getVerb()
Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy.Version is the API Version of the Resource.Set group in a chainable fashion.int
hashCode()
Set name in a chainable fashion.Set namespace in a chainable fashion.Set resource in a chainable fashion.void
Set the group property valuevoid
Set the name property valuevoid
setNamespace
(String namespace) Set the namespace property valuevoid
setResource
(String resource) Set the resource property valuevoid
setSubresource
(String subresource) Set the subresource property valuevoid
Set the verb property valuevoid
setVersion
(String version) Set the version property valuesubresource
(String subresource) Set subresource in a chainable fashion.toString()
Set verb in a chainable fashion.Set version in a chainable fashion.
-
Field Details
-
JSON_PROPERTY_GROUP
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_NAMESPACE
- See Also:
-
JSON_PROPERTY_RESOURCE
- See Also:
-
JSON_PROPERTY_SUBRESOURCE
- See Also:
-
JSON_PROPERTY_VERB
- See Also:
-
JSON_PROPERTY_VERSION
- See Also:
-
-
Constructor Details
-
V1ResourceAttributes
public V1ResourceAttributes()
-
-
Method Details
-
getGroup
Group is the API Group of the Resource. \"*\" means all.- Returns:
- the group property value
-
setGroup
Set the group property value -
group
Set group in a chainable fashion.- Returns:
- The same instance of V1ResourceAttributes for chaining.
-
getName
Name is the name of the resource being requested for a \"get\" or deleted for a \"delete\". \"\" (empty) means all.- Returns:
- the name property value
-
setName
Set the name property value -
name
Set name in a chainable fashion.- Returns:
- The same instance of V1ResourceAttributes for chaining.
-
getNamespace
Namespace is the namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces \"\" (empty) is defaulted for LocalSubjectAccessReviews \"\" (empty) is empty for cluster-scoped resources \"\" (empty) means \"all\" for namespace scoped resources from a SubjectAccessReview or SelfSubjectAccessReview- Returns:
- the namespace property value
-
setNamespace
Set the namespace property value -
namespace
Set namespace in a chainable fashion.- Returns:
- The same instance of V1ResourceAttributes for chaining.
-
getResource
Resource is one of the existing resource types. \"*\" means all.- Returns:
- the resource property value
-
setResource
Set the resource property value -
resource
Set resource in a chainable fashion.- Returns:
- The same instance of V1ResourceAttributes for chaining.
-
getSubresource
Subresource is one of the existing resource types. \"\" means none.- Returns:
- the subresource property value
-
setSubresource
Set the subresource property value -
subresource
Set subresource in a chainable fashion.- Returns:
- The same instance of V1ResourceAttributes for chaining.
-
getVerb
Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. \"*\" means all.- Returns:
- the verb property value
-
setVerb
Set the verb property value -
verb
Set verb in a chainable fashion.- Returns:
- The same instance of V1ResourceAttributes for chaining.
-
getVersion
Version is the API Version of the Resource. \"*\" means all.- Returns:
- the version property value
-
setVersion
Set the version property value -
version
Set version in a chainable fashion.- Returns:
- The same instance of V1ResourceAttributes for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-