Class V1ServiceAccountSubject
java.lang.Object
io.kubernetes.client.openapi.models.V1ServiceAccountSubject
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-02-12T21:15:49.397498Z[Etc/UTC]",
comments="Generator version: 7.6.0")
public class V1ServiceAccountSubject
extends Object
ServiceAccountSubject holds detailed information for service-account-kind subject.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
static V1ServiceAccountSubject
Create an instance of V1ServiceAccountSubject 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 V1ServiceAccountSubject to an JSON stringtoString()
static void
validateJsonElement
(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_NAMESPACE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1ServiceAccountSubject
public V1ServiceAccountSubject()
-
-
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
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement
- JSON Element- Throws:
IOException
- if the JSON Element is invalid with respect to V1ServiceAccountSubject
-
fromJson
Create an instance of V1ServiceAccountSubject given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1ServiceAccountSubject
- Throws:
IOException
- if the JSON string is invalid with respect to V1ServiceAccountSubject
-
toJson
Convert an instance of V1ServiceAccountSubject to an JSON string- Returns:
- JSON string
-