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.ExplicitlySetBmcModelThe 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 classRoleSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RoleSummary.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetAuthenticationType()Type of authentication.BooleangetIsCommon()Is the role common.BooleangetIsImplicit()Is the role implicit.BooleangetIsInherited()Is the role inherited.BooleangetIsOracleMaintained()Is the role oracle maintained.BooleangetIsPasswordRequired()Is password required.StringgetRoleName()The name of the role.inthashCode()RoleSummary.BuildertoBuilder()StringtoString()StringtoString(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:
toStringin 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:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-