Package com.oracle.bmc.database.model
Class SaasAdminUserConfiguration
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.database.model.SaasAdminUserConfiguration
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class SaasAdminUserConfiguration extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelSaaS administrative user configuration.
 Note: Objects should always be created or deserialized using theSaasAdminUserConfiguration.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 theSaasAdminUserConfiguration.Builder, which maintain a set of all explicitly set fields calledSaasAdminUserConfiguration.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 SummaryNested Classes Modifier and Type Class Description static classSaasAdminUserConfiguration.AccessTypeThe access type for the SaaS administrative user.static classSaasAdminUserConfiguration.Builder
 - 
Constructor SummaryConstructors Constructor Description SaasAdminUserConfiguration(String password, String secretId, Integer secretVersionNumber, Integer duration, Boolean isEnabled, SaasAdminUserConfiguration.AccessType accessType, Date timeSaasAdminUserEnabled)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SaasAdminUserConfiguration.Builderbuilder()Create a new builder.booleanequals(Object o)SaasAdminUserConfiguration.AccessTypegetAccessType()The access type for the SaaS administrative user.IntegergetDuration()How long, in hours, the SaaS administrative user will stay enabled.BooleangetIsEnabled()Indicates if the SaaS administrative user is enabled for the Autonomous AI Database.StringgetPassword()A strong password for SaaS administrative user.StringgetSecretId()IntegergetSecretVersionNumber()The version of the vault secret.DategetTimeSaasAdminUserEnabled()The date and time the SaaS administrative user was enabled at, for the Autonomous AI Database.inthashCode()SaasAdminUserConfiguration.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
SaasAdminUserConfiguration@Deprecated @ConstructorProperties({"password","secretId","secretVersionNumber","duration","isEnabled","accessType","timeSaasAdminUserEnabled"}) public SaasAdminUserConfiguration(String password, String secretId, Integer secretVersionNumber, Integer duration, Boolean isEnabled, SaasAdminUserConfiguration.AccessType accessType, Date timeSaasAdminUserEnabled) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static SaasAdminUserConfiguration.Builder builder() Create a new builder.
 - 
toBuilderpublic SaasAdminUserConfiguration.Builder toBuilder() 
 - 
getPasswordpublic 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). - Returns:
- the value
 
 - 
getSecretIdpublic String getSecretId() - Returns:
- the value
 
 - 
getSecretVersionNumberpublic Integer getSecretVersionNumber() The version of the vault secret.If no version is specified, the latest version will be used. - Returns:
- the value
 
 - 
getDurationpublic 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. - Returns:
- the value
 
 - 
getIsEnabledpublic Boolean getIsEnabled() Indicates if the SaaS administrative user is enabled for the Autonomous AI Database.- Returns:
- the value
 
 - 
getAccessTypepublic SaasAdminUserConfiguration.AccessType getAccessType() The access type for the SaaS administrative user.If no access type is specified, the READ_ONLY access type is used. - Returns:
- the value
 
 - 
getTimeSaasAdminUserEnabledpublic Date getTimeSaasAdminUserEnabled() The date and time the SaaS administrative user was enabled at, for the Autonomous AI Database.- Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic 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
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-