Class UserInfo
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.authentication.v1.UserInfo
-
- All Implemented Interfaces:
com.marcnuri.yakc.model.Model
public class UserInfo extends java.lang.Object implements com.marcnuri.yakc.model.Model
UserInfo holds the information about the user needed to implement the user.Info interface.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UserInfo.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UserInfo.Builder
builder()
protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
java.util.Map<java.lang.String,java.util.List<java.lang.String>>
getExtra()
Any additional information provided by the authenticator.java.util.List<java.lang.String>
getGroups()
The names of groups this user is a part of.java.lang.String
getUid()
A unique value that identifies this user across time.java.lang.String
getUsername()
The name that uniquely identifies this user among all active users.int
hashCode()
void
setExtra(java.util.Map<java.lang.String,java.util.List<java.lang.String>> extra)
Any additional information provided by the authenticator.void
setGroups(java.util.List<java.lang.String> groups)
The names of groups this user is a part of.void
setUid(java.lang.String uid)
A unique value that identifies this user across time.void
setUsername(java.lang.String username)
The name that uniquely identifies this user among all active users.UserInfo.Builder
toBuilder()
java.lang.String
toString()
-
-
-
Method Detail
-
builder
public static UserInfo.Builder builder()
-
toBuilder
public UserInfo.Builder toBuilder()
-
getExtra
public java.util.Map<java.lang.String,java.util.List<java.lang.String>> getExtra()
Any additional information provided by the authenticator.
-
getGroups
public java.util.List<java.lang.String> getGroups()
The names of groups this user is a part of.
-
getUid
public java.lang.String getUid()
A unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs.
-
getUsername
public java.lang.String getUsername()
The name that uniquely identifies this user among all active users.
-
setExtra
public void setExtra(java.util.Map<java.lang.String,java.util.List<java.lang.String>> extra)
Any additional information provided by the authenticator.
-
setGroups
public void setGroups(java.util.List<java.lang.String> groups)
The names of groups this user is a part of.
-
setUid
public void setUid(java.lang.String uid)
A unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs.
-
setUsername
public void setUsername(java.lang.String username)
The name that uniquely identifies this user among all active users.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-