Class V1beta3ServiceAccountSubject
java.lang.Object
io.kubernetes.client.openapi.models.V1beta3ServiceAccountSubject
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-10-04T19:37:38.574271Z[Etc/UTC]",
comments="Generator version: 7.6.0")
public class V1beta3ServiceAccountSubject
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 V1beta3ServiceAccountSubject
Create an instance of V1beta3ServiceAccountSubject 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 V1beta3ServiceAccountSubject 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
-
V1beta3ServiceAccountSubject
public V1beta3ServiceAccountSubject()
-
-
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 V1beta3ServiceAccountSubject
-
fromJson
Create an instance of V1beta3ServiceAccountSubject given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1beta3ServiceAccountSubject
- Throws:
IOException
- if the JSON string is invalid with respect to V1beta3ServiceAccountSubject
-
toJson
Convert an instance of V1beta3ServiceAccountSubject to an JSON string- Returns:
- JSON string
-