@Generated(value="OracleSDKGenerator", comments="API Version: 20201101") public final class UserSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The summary of a specific User.
Note: Objects should always be created or deserialized using the UserSummary.Builder
. This model
distinguishes fields that are null
because they are unset from fields that are explicitly
set to null
. This is done in the setter methods of the UserSummary.Builder
, which maintain a
set of all explicitly set fields called UserSummary.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
UserSummary.Builder |
static class |
UserSummary.Status
The status of the user account.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
UserSummary(String name,
UserSummary.Status status,
Date timeExpiring,
String defaultTablespace,
String tempTablespace,
Date timeCreated,
Date timeLocked,
String profile)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static UserSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getDefaultTablespace()
The default tablespace for data.
|
String |
getName()
The name of the User.
|
String |
getProfile()
The profile name of the user.
|
UserSummary.Status |
getStatus()
The status of the user account.
|
String |
getTempTablespace()
The name of the default tablespace for temporary tables or the name of a tablespace group.
|
Date |
getTimeCreated()
The date and time the user was created.
|
Date |
getTimeExpiring()
The date and time of the expiration of the user account.
|
Date |
getTimeLocked()
The date the account was locked, if the status of the account is LOCKED.
|
int |
hashCode() |
UserSummary.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"name","status","timeExpiring","defaultTablespace","tempTablespace","timeCreated","timeLocked","profile"}) public UserSummary(String name, UserSummary.Status status, Date timeExpiring, String defaultTablespace, String tempTablespace, Date timeCreated, Date timeLocked, String profile)
public static UserSummary.Builder builder()
Create a new builder.
public UserSummary.Builder toBuilder()
public String getName()
The name of the User.
public UserSummary.Status getStatus()
The status of the user account.
public Date getTimeExpiring()
The date and time of the expiration of the user account.
public String getDefaultTablespace()
The default tablespace for data.
public String getTempTablespace()
The name of the default tablespace for temporary tables or the name of a tablespace group.
public Date getTimeCreated()
The date and time the user was created.
public Date getTimeLocked()
The date the account was locked, if the status of the account is LOCKED.
public String getProfile()
The profile name of the user.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.