Package com.oracle.bmc.database.model
Class ConfigureSaasAdminUserDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.database.model.ConfigureSaasAdminUserDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class ConfigureSaasAdminUserDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelDetails to update SaaS administrative user configuration.
Note: Objects should always be created or deserialized using theConfigureSaasAdminUserDetails.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 theConfigureSaasAdminUserDetails.Builder, which maintain a set of all explicitly set fields calledConfigureSaasAdminUserDetails.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 classConfigureSaasAdminUserDetails.AccessTypeThe access type for the SaaS administrative user.static classConfigureSaasAdminUserDetails.Builder
-
Constructor Summary
Constructors Constructor Description ConfigureSaasAdminUserDetails(String password, String secretId, Integer secretVersionNumber, Integer duration, Boolean isEnabled, ConfigureSaasAdminUserDetails.AccessType accessType, Date timeSaasAdminUserEnabled)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConfigureSaasAdminUserDetails.Builderbuilder()Create a new builder.booleanequals(Object o)ConfigureSaasAdminUserDetails.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 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 Database.inthashCode()ConfigureSaasAdminUserDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
ConfigureSaasAdminUserDetails
@Deprecated @ConstructorProperties({"password","secretId","secretVersionNumber","duration","isEnabled","accessType","timeSaasAdminUserEnabled"}) public ConfigureSaasAdminUserDetails(String password, String secretId, Integer secretVersionNumber, Integer duration, Boolean isEnabled, ConfigureSaasAdminUserDetails.AccessType accessType, Date timeSaasAdminUserEnabled)
Deprecated.
-
-
Method Detail
-
builder
public static ConfigureSaasAdminUserDetails.Builder builder()
Create a new builder.
-
toBuilder
public ConfigureSaasAdminUserDetails.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 ConfigureSaasAdminUserDetails.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:
toStringin 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:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-