@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class ConfigureSaasAdminUserDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Details to update SaaS administrative user configuration.
Note: Objects should always be created or deserialized using the ConfigureSaasAdminUserDetails.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 ConfigureSaasAdminUserDetails.Builder
, which maintain a
set of all explicitly set fields called ConfigureSaasAdminUserDetails.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 |
ConfigureSaasAdminUserDetails.AccessType
The access type for the SaaS administrative user.
|
static class |
ConfigureSaasAdminUserDetails.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
ConfigureSaasAdminUserDetails(String password,
String secretId,
Integer secretVersionNumber,
Integer duration,
Boolean isEnabled,
ConfigureSaasAdminUserDetails.AccessType accessType,
Date timeSaasAdminUserEnabled)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static ConfigureSaasAdminUserDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
ConfigureSaasAdminUserDetails.AccessType |
getAccessType()
The access type for the SaaS administrative user.
|
Integer |
getDuration()
How long, in hours, the SaaS administrative user will stay enabled.
|
Boolean |
getIsEnabled()
Indicates if the SaaS administrative user is enabled for the Autonomous Database.
|
String |
getPassword()
A strong password for SaaS administrative user.
|
String |
getSecretId()
|
Integer |
getSecretVersionNumber()
The version of the vault secret.
|
Date |
getTimeSaasAdminUserEnabled()
The date and time the SaaS administrative user was enabled at, for the Autonomous Database.
|
int |
hashCode() |
ConfigureSaasAdminUserDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"password","secretId","secretVersionNumber","duration","isEnabled","accessType","timeSaasAdminUserEnabled"}) public ConfigureSaasAdminUserDetails(String password, String secretId, Integer secretVersionNumber, Integer duration, Boolean isEnabled, ConfigureSaasAdminUserDetails.AccessType accessType, Date timeSaasAdminUserEnabled)
public static ConfigureSaasAdminUserDetails.Builder builder()
Create a new builder.
public ConfigureSaasAdminUserDetails.Builder toBuilder()
public String getPassword()
A strong password for SaaS administrative user. The password must be a minimum of nine (9) characters and contain a minimum of two (2) uppercase, two (2) lowercase, two (2) numbers, and two (2) special characters from _ (underscore), \# (hashtag), or - (dash).
public String getSecretId()
public Integer getSecretVersionNumber()
The version of the vault secret. If no version is specified, the latest version will be used.
public Integer getDuration()
How long, in hours, the SaaS administrative user will stay enabled. If no duration is specified, the default value 1 will be used.
public Boolean getIsEnabled()
Indicates if the SaaS administrative user is enabled for the Autonomous Database.
public ConfigureSaasAdminUserDetails.AccessType getAccessType()
The access type for the SaaS administrative user. If no access type is specified, the READ_ONLY access type is used.
public Date getTimeSaasAdminUserEnabled()
The date and time the SaaS administrative user was enabled at, for the Autonomous Database.
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.