@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class UserCapabilities extends Object
Properties indicating how the user is allowed to authenticate.
Note: Objects should always be created or deserialized using the UserCapabilities.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 UserCapabilities.Builder, which maintain a set of all explicitly set fields called
__explicitlySet__. The hashCode() and equals(Object) methods are implemented to take
__explicitlySet__ into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null from unset null).
| Modifier and Type | Class and Description |
|---|---|
static class |
UserCapabilities.Builder |
| Constructor and Description |
|---|
UserCapabilities(Boolean canUseConsolePassword,
Boolean canUseApiKeys,
Boolean canUseAuthTokens,
Boolean canUseSmtpCredentials,
Boolean canUseCustomerSecretKeys,
Boolean canUseOAuth2ClientCredentials)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static UserCapabilities.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
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 |
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() |
@ConstructorProperties(value={"canUseConsolePassword","canUseApiKeys","canUseAuthTokens","canUseSmtpCredentials","canUseCustomerSecretKeys","canUseOAuth2ClientCredentials"}) @Deprecated public UserCapabilities(Boolean canUseConsolePassword, Boolean canUseApiKeys, Boolean canUseAuthTokens, Boolean canUseSmtpCredentials, Boolean canUseCustomerSecretKeys, Boolean canUseOAuth2ClientCredentials)
public static UserCapabilities.Builder builder()
Create a new builder.
public UserCapabilities.Builder toBuilder()
public Boolean getCanUseConsolePassword()
Indicates if the user can log in to the console.
public Boolean getCanUseApiKeys()
Indicates if the user can use API keys.
public Boolean getCanUseAuthTokens()
Indicates if the user can use SWIFT passwords / auth tokens.
public Boolean getCanUseSmtpCredentials()
Indicates if the user can use SMTP passwords.
public Boolean getCanUseCustomerSecretKeys()
Indicates if the user can use SigV4 symmetric keys.
public Boolean getCanUseOAuth2ClientCredentials()
Indicates if the user can use OAuth2 credentials and tokens.
Copyright © 2016–2021. All rights reserved.