Class DatabaseParameterSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.databasemanagement.model.DatabaseParameterSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20201101") public final class DatabaseParameterSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelA summary of the database parameter.
Note: Objects should always be created or deserialized using theDatabaseParameterSummary.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 theDatabaseParameterSummary.Builder, which maintain a set of all explicitly set fields calledDatabaseParameterSummary.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 classDatabaseParameterSummary.Builderstatic classDatabaseParameterSummary.ConstraintApplicable in case of Oracle Real Application Clusters (Oracle RAC) databases.static classDatabaseParameterSummary.IsModifiedIndicates how the parameter was modified.static classDatabaseParameterSummary.IsSystemModifiableIndicates whether the parameter can be changed with ALTER SYSTEM and when the change takes effect: - IMMEDIATE: Parameter can be changed with ALTER SYSTEM regardless of the type of parameter file used to start the instance.static classDatabaseParameterSummary.TypeThe parameter type.
-
Constructor Summary
Constructors Constructor Description DatabaseParameterSummary(String name, DatabaseParameterSummary.Type type, String value, String displayValue, BigDecimal number, Boolean isDefault, Boolean isSessionModifiable, DatabaseParameterSummary.IsSystemModifiable isSystemModifiable, Boolean isPdbModifiable, Boolean isInstanceModifiable, DatabaseParameterSummary.IsModified isModified, Boolean isAdjusted, Boolean isDeprecated, Boolean isBasic, String description, BigDecimal ordinal, String updateComment, BigDecimal containerId, String category, DatabaseParameterSummary.Constraint constraint, String sid, Boolean isSpecified, List<AllowedParameterValue> allowedValues)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DatabaseParameterSummary.Builderbuilder()Create a new builder.booleanequals(Object o)List<AllowedParameterValue>getAllowedValues()A list of allowed values for this parameter.StringgetCategory()The parameter category.DatabaseParameterSummary.ConstraintgetConstraint()Applicable in case of Oracle Real Application Clusters (Oracle RAC) databases.BigDecimalgetContainerId()The ID of the database container to which the data pertains.StringgetDescription()The description of the parameter.StringgetDisplayValue()The parameter value in a user-friendly format.BooleangetIsAdjusted()Indicates whether Oracle adjusted the input value to a more suitable value.BooleangetIsBasic()Indicates whether the parameter is a basic parameter (TRUE) or not (FALSE).BooleangetIsDefault()Indicates whether the parameter is set to the default value (TRUE) or the parameter value was specified in the parameter file (FALSE).BooleangetIsDeprecated()Indicates whether the parameter has been deprecated (TRUE) or not (FALSE).BooleangetIsInstanceModifiable()For parameters that can be changed with ALTER SYSTEM, indicates whether the value of the parameter can be different for every instance (TRUE) or whether the parameter must have the same value for all Real Application Clusters instances (FALSE).DatabaseParameterSummary.IsModifiedgetIsModified()Indicates how the parameter was modified.BooleangetIsPdbModifiable()Indicates whether the parameter can be modified on a per-PDB basis (TRUE) or not (FALSE).BooleangetIsSessionModifiable()Indicates whether the parameter can be changed with ALTER SESSION (TRUE) or not (FALSE)BooleangetIsSpecified()Indicates whether the parameter was specified in the server parameter file (TRUE) or not (FALSE).DatabaseParameterSummary.IsSystemModifiablegetIsSystemModifiable()Indicates whether the parameter can be changed with ALTER SYSTEM and when the change takes effect: - IMMEDIATE: Parameter can be changed with ALTER SYSTEM regardless of the type of parameter file used to start the instance.StringgetName()The parameter name.BigDecimalgetNumber()The parameter number.BigDecimalgetOrdinal()The position (ordinal number) of the parameter value.StringgetSid()The database instance SID for which the parameter is defined.DatabaseParameterSummary.TypegetType()The parameter type.StringgetUpdateComment()The comments associated with the most recent update.StringgetValue()The parameter value.inthashCode()DatabaseParameterSummary.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
DatabaseParameterSummary
@Deprecated @ConstructorProperties({"name","type","value","displayValue","number","isDefault","isSessionModifiable","isSystemModifiable","isPdbModifiable","isInstanceModifiable","isModified","isAdjusted","isDeprecated","isBasic","description","ordinal","updateComment","containerId","category","constraint","sid","isSpecified","allowedValues"}) public DatabaseParameterSummary(String name, DatabaseParameterSummary.Type type, String value, String displayValue, BigDecimal number, Boolean isDefault, Boolean isSessionModifiable, DatabaseParameterSummary.IsSystemModifiable isSystemModifiable, Boolean isPdbModifiable, Boolean isInstanceModifiable, DatabaseParameterSummary.IsModified isModified, Boolean isAdjusted, Boolean isDeprecated, Boolean isBasic, String description, BigDecimal ordinal, String updateComment, BigDecimal containerId, String category, DatabaseParameterSummary.Constraint constraint, String sid, Boolean isSpecified, List<AllowedParameterValue> allowedValues)
Deprecated.
-
-
Method Detail
-
builder
public static DatabaseParameterSummary.Builder builder()
Create a new builder.
-
toBuilder
public DatabaseParameterSummary.Builder toBuilder()
-
getName
public String getName()
The parameter name.- Returns:
- the value
-
getType
public DatabaseParameterSummary.Type getType()
The parameter type.- Returns:
- the value
-
getValue
public String getValue()
The parameter value.- Returns:
- the value
-
getDisplayValue
public String getDisplayValue()
The parameter value in a user-friendly format.For example, if the value property shows the value 262144 for a big integer parameter, then the displayValue property will show the value 256K.
- Returns:
- the value
-
getNumber
public BigDecimal getNumber()
The parameter number.- Returns:
- the value
-
getIsDefault
public Boolean getIsDefault()
Indicates whether the parameter is set to the default value (TRUE) or the parameter value was specified in the parameter file (FALSE).- Returns:
- the value
-
getIsSessionModifiable
public Boolean getIsSessionModifiable()
Indicates whether the parameter can be changed with ALTER SESSION (TRUE) or not (FALSE)- Returns:
- the value
-
getIsSystemModifiable
public DatabaseParameterSummary.IsSystemModifiable getIsSystemModifiable()
Indicates whether the parameter can be changed with ALTER SYSTEM and when the change takes effect: - IMMEDIATE: Parameter can be changed with ALTER SYSTEM regardless of the type of parameter file used to start the instance.The change takes effect immediately. - DEFERRED: Parameter can be changed with ALTER SYSTEM regardless of the type of parameter file used to start the instance. The change takes effect in subsequent sessions. - FALSE: Parameter cannot be changed with ALTER SYSTEM unless a server parameter file was used to start the instance. The change takes effect in subsequent instances.
- Returns:
- the value
-
getIsPdbModifiable
public Boolean getIsPdbModifiable()
Indicates whether the parameter can be modified on a per-PDB basis (TRUE) or not (FALSE).In a non-CDB, the value of this property is null.
- Returns:
- the value
-
getIsInstanceModifiable
public Boolean getIsInstanceModifiable()
For parameters that can be changed with ALTER SYSTEM, indicates whether the value of the parameter can be different for every instance (TRUE) or whether the parameter must have the same value for all Real Application Clusters instances (FALSE).For other parameters, this is always FALSE.
- Returns:
- the value
-
getIsModified
public DatabaseParameterSummary.IsModified getIsModified()
Indicates how the parameter was modified.If an ALTER SYSTEM was performed, the value will be MODIFIED.
- Returns:
- the value
-
getIsAdjusted
public Boolean getIsAdjusted()
Indicates whether Oracle adjusted the input value to a more suitable value.- Returns:
- the value
-
getIsDeprecated
public Boolean getIsDeprecated()
Indicates whether the parameter has been deprecated (TRUE) or not (FALSE).- Returns:
- the value
-
getIsBasic
public Boolean getIsBasic()
Indicates whether the parameter is a basic parameter (TRUE) or not (FALSE).- Returns:
- the value
-
getDescription
public String getDescription()
The description of the parameter.- Returns:
- the value
-
getOrdinal
public BigDecimal getOrdinal()
The position (ordinal number) of the parameter value.Useful only for parameters whose values are lists of strings.
- Returns:
- the value
-
getUpdateComment
public String getUpdateComment()
The comments associated with the most recent update.- Returns:
- the value
-
getContainerId
public BigDecimal getContainerId()
The ID of the database container to which the data pertains.Possible values include: - 0: This value is used for data that pertain to the entire CDB. This value is also used for data in non-CDBs. - 1: This value is used for data that pertain to only the root container. - n: Where n is the applicable container ID for the data.
- Returns:
- the value
-
getCategory
public String getCategory()
The parameter category.- Returns:
- the value
-
getConstraint
public DatabaseParameterSummary.Constraint getConstraint()
Applicable in case of Oracle Real Application Clusters (Oracle RAC) databases.A UNIQUE parameter is one which is unique to each Oracle Real Application Clusters (Oracle RAC) instance. For example, the parameter INSTANCE_NUMBER must have different values in each instance. An IDENTICAL parameter must have the same value for every instance. For example, the parameter DB_BLOCK_SIZE must have the same value in all instances.
- Returns:
- the value
-
getSid
public String getSid()
The database instance SID for which the parameter is defined.- Returns:
- the value
-
getIsSpecified
public Boolean getIsSpecified()
Indicates whether the parameter was specified in the server parameter file (TRUE) or not (FALSE).Applicable only when the parameter source is SPFILE.
- Returns:
- the value
-
getAllowedValues
public List<AllowedParameterValue> getAllowedValues()
A list of allowed values for this parameter.- 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
-
-