Class V1beta3ServiceAccountSubject
java.lang.Object
io.kubernetes.client.openapi.models.V1beta3ServiceAccountSubject
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-02-02T17:56:12.287571Z[Etc/UTC]")
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 TypeMethodDescriptionbooleanstatic V1beta3ServiceAccountSubjectCreate 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.inthashCode()voidvoidsetNamespace(String namespace) toJson()Convert an instance of V1beta3ServiceAccountSubject to an JSON stringtoString()static voidvalidateJsonObject(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
-
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
-
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 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
-