Class V1beta2ServiceAccountSubject
java.lang.Object
io.kubernetes.client.openapi.models.V1beta2ServiceAccountSubject
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-02-02T17:56:12.287571Z[Etc/UTC]")
public class V1beta2ServiceAccountSubject
extends Object
ServiceAccountSubject holds detailed information for service-account-kind subject.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
static V1beta2ServiceAccountSubject
Create an instance of V1beta2ServiceAccountSubject given an JSON stringgetName()
`name` is the name of matching ServiceAccount objects, or \"*\" to match regardless of name.`namespace` is the namespace of matching ServiceAccount objects.int
hashCode()
void
void
setNamespace
(String namespace) toJson()
Convert an instance of V1beta2ServiceAccountSubject to an JSON stringtoString()
static void
validateJsonObject
(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_NAMESPACE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1beta2ServiceAccountSubject
public V1beta2ServiceAccountSubject()
-
-
Method Details
-
name
-
getName
`name` is the name of matching ServiceAccount objects, or \"*\" to match regardless of name. Required.- Returns:
- name
-
setName
-
namespace
-
getNamespace
`namespace` is the namespace of matching ServiceAccount objects. Required.- Returns:
- namespace
-
setNamespace
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonObject
Validates the JSON Object and throws an exception if issues found- Parameters:
jsonObj
- JSON Object- Throws:
IOException
- if the JSON Object is invalid with respect to V1beta2ServiceAccountSubject
-
fromJson
Create an instance of V1beta2ServiceAccountSubject given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1beta2ServiceAccountSubject
- Throws:
IOException
- if the JSON string is invalid with respect to V1beta2ServiceAccountSubject
-
toJson
Convert an instance of V1beta2ServiceAccountSubject to an JSON string- Returns:
- JSON string
-