Package com.oracle.bmc.identity.model
Class UserCapabilities
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.identity.model.UserCapabilities
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class UserCapabilities extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Properties indicating how the user is allowed to authenticate.
Note: Objects should always be created or deserialized using theUserCapabilities.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 theUserCapabilities.Builder
, which maintain a set of all explicitly set fields calledUserCapabilities.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
UserCapabilities.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UserCapabilities.Builder
builder()
Create a new builder.boolean
equals(Object o)
Boolean
getCanUseApiKeys()
Indicates if the user can use API keys.Boolean
getCanUseAuthTokens()
Indicates if the user can use SWIFT passwords / auth tokens.Boolean
getCanUseConsolePassword()
Indicates if the user can log in to the console.Boolean
getCanUseCustomerSecretKeys()
Indicates if the user can use SigV4 symmetric keys.Boolean
getCanUseDbCredentials()
Indicates if the user can use DB passwords.Boolean
getCanUseOAuth2ClientCredentials()
Indicates if the user can use OAuth2 credentials and tokens.Boolean
getCanUseSmtpCredentials()
Indicates if the user can use SMTP passwords.int
hashCode()
UserCapabilities.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
UserCapabilities
@Deprecated @ConstructorProperties({"canUseConsolePassword","canUseApiKeys","canUseAuthTokens","canUseSmtpCredentials","canUseDbCredentials","canUseCustomerSecretKeys","canUseOAuth2ClientCredentials"}) public UserCapabilities(Boolean canUseConsolePassword, Boolean canUseApiKeys, Boolean canUseAuthTokens, Boolean canUseSmtpCredentials, Boolean canUseDbCredentials, Boolean canUseCustomerSecretKeys, Boolean canUseOAuth2ClientCredentials)
Deprecated.
-
-
Method Detail
-
builder
public static UserCapabilities.Builder builder()
Create a new builder.
-
toBuilder
public UserCapabilities.Builder toBuilder()
-
getCanUseConsolePassword
public Boolean getCanUseConsolePassword()
Indicates if the user can log in to the console.- Returns:
- the value
-
getCanUseApiKeys
public Boolean getCanUseApiKeys()
Indicates if the user can use API keys.- Returns:
- the value
-
getCanUseAuthTokens
public Boolean getCanUseAuthTokens()
Indicates if the user can use SWIFT passwords / auth tokens.- Returns:
- the value
-
getCanUseSmtpCredentials
public Boolean getCanUseSmtpCredentials()
Indicates if the user can use SMTP passwords.- Returns:
- the value
-
getCanUseDbCredentials
public Boolean getCanUseDbCredentials()
Indicates if the user can use DB passwords.- Returns:
- the value
-
getCanUseCustomerSecretKeys
public Boolean getCanUseCustomerSecretKeys()
Indicates if the user can use SigV4 symmetric keys.- Returns:
- the value
-
getCanUseOAuth2ClientCredentials
public Boolean getCanUseOAuth2ClientCredentials()
Indicates if the user can use OAuth2 credentials and tokens.- 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
-
-