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.ExplicitlySetBmcModel
SaaS 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 Summary
Nested Classes Modifier and Type Class Description static class
SaasAdminUserConfiguration.AccessType
The access type for the SaaS administrative user.static class
SaasAdminUserConfiguration.Builder
-
Constructor Summary
Constructors Constructor Description SaasAdminUserConfiguration(String password, String secretId, Integer secretVersionNumber, Integer duration, Boolean isEnabled, SaasAdminUserConfiguration.AccessType accessType, Date timeSaasAdminUserEnabled)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SaasAdminUserConfiguration.Builder
builder()
Create a new builder.boolean
equals(Object o)
SaasAdminUserConfiguration.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()
SaasAdminUserConfiguration.Builder
toBuilder()
String
toString()
String
toString(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
-
builder
public static SaasAdminUserConfiguration.Builder builder()
Create a new builder.
-
toBuilder
public SaasAdminUserConfiguration.Builder toBuilder()
-
getPassword
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).
- Returns:
- the value
-
getSecretId
public String getSecretId()
- Returns:
- the value
-
getSecretVersionNumber
public Integer getSecretVersionNumber()
The version of the vault secret.If no version is specified, the latest version will be used.
- Returns:
- the value
-
getDuration
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.
- Returns:
- the value
-
getIsEnabled
public Boolean getIsEnabled()
Indicates if the SaaS administrative user is enabled for the Autonomous Database.- Returns:
- the value
-
getAccessType
public 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
-
getTimeSaasAdminUserEnabled
public Date getTimeSaasAdminUserEnabled()
The date and time the SaaS administrative user was enabled at, for the Autonomous Database.- 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
-
-