Package com.oracle.bmc.datasafe.model
Class RoleSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.datasafe.model.RoleSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20181201") public final class RoleSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The details of a role fetched from the database.
Note: Objects should always be created or deserialized using theRoleSummary.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 theRoleSummary.Builder
, which maintain a set of all explicitly set fields calledRoleSummary.Builder.__explicitlySet__
. ThehashCode()
andequals(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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RoleSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RoleSummary.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getAuthenticationType()
Type of authentication.Boolean
getIsCommon()
Is the role common.Boolean
getIsImplicit()
Is the role implicit.Boolean
getIsInherited()
Is the role inherited.Boolean
getIsOracleMaintained()
Is the role oracle maintained.Boolean
getIsPasswordRequired()
Is password required.String
getRoleName()
The name of the role.int
hashCode()
RoleSummary.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
RoleSummary
@Deprecated @ConstructorProperties({"roleName","authenticationType","isPasswordRequired","isCommon","isOracleMaintained","isInherited","isImplicit"}) public RoleSummary(String roleName, String authenticationType, Boolean isPasswordRequired, Boolean isCommon, Boolean isOracleMaintained, Boolean isInherited, Boolean isImplicit)
Deprecated.
-
-
Method Detail
-
builder
public static RoleSummary.Builder builder()
Create a new builder.
-
toBuilder
public RoleSummary.Builder toBuilder()
-
getRoleName
public String getRoleName()
The name of the role.- Returns:
- the value
-
getAuthenticationType
public String getAuthenticationType()
Type of authentication.- Returns:
- the value
-
getIsPasswordRequired
public Boolean getIsPasswordRequired()
Is password required.- Returns:
- the value
-
getIsCommon
public Boolean getIsCommon()
Is the role common.- Returns:
- the value
-
getIsOracleMaintained
public Boolean getIsOracleMaintained()
Is the role oracle maintained.- Returns:
- the value
-
getIsInherited
public Boolean getIsInherited()
Is the role inherited.- Returns:
- the value
-
getIsImplicit
public Boolean getIsImplicit()
Is the role implicit.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-