public static class DatabaseParameterSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DatabaseParameterSummary.Builder |
allowedValues(List<AllowedParameterValue> allowedValues)
A list of allowed values for this parameter.
|
DatabaseParameterSummary |
build() |
DatabaseParameterSummary.Builder |
category(String category)
The parameter category.
|
DatabaseParameterSummary.Builder |
constraint(DatabaseParameterSummary.Constraint constraint)
Applicable in case of Oracle Real Application Clusters (Oracle RAC) databases.
|
DatabaseParameterSummary.Builder |
containerId(BigDecimal containerId)
The ID of the database container to which the data pertains.
|
DatabaseParameterSummary.Builder |
copy(DatabaseParameterSummary model) |
DatabaseParameterSummary.Builder |
description(String description)
The description of the parameter.
|
DatabaseParameterSummary.Builder |
displayValue(String displayValue)
The parameter value in a user-friendly format.
|
DatabaseParameterSummary.Builder |
isAdjusted(Boolean isAdjusted)
Indicates whether Oracle adjusted the input value to a more suitable value.
|
DatabaseParameterSummary.Builder |
isBasic(Boolean isBasic)
Indicates whether the parameter is a basic parameter (
TRUE ) or not (FALSE ). |
DatabaseParameterSummary.Builder |
isDefault(Boolean isDefault)
Indicates whether the parameter is set to the default value (
TRUE ) or the
parameter value was specified in the parameter file (FALSE ). |
DatabaseParameterSummary.Builder |
isDeprecated(Boolean isDeprecated)
Indicates whether the parameter has been deprecated (
TRUE ) or not (FALSE ). |
DatabaseParameterSummary.Builder |
isInstanceModifiable(Boolean isInstanceModifiable)
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.Builder |
isModified(DatabaseParameterSummary.IsModified isModified)
Indicates how the parameter was modified.
|
DatabaseParameterSummary.Builder |
isPdbModifiable(Boolean isPdbModifiable)
Indicates whether the parameter can be modified on a per-PDB basis (
TRUE ) or not
(FALSE ). |
DatabaseParameterSummary.Builder |
isSessionModifiable(Boolean isSessionModifiable)
Indicates whether the parameter can be changed with
ALTER SESSION (TRUE )
or not (FALSE ) |
DatabaseParameterSummary.Builder |
isSpecified(Boolean isSpecified)
Indicates whether the parameter was specified in the server parameter file (
TRUE )
or not (FALSE ). |
DatabaseParameterSummary.Builder |
isSystemModifiable(DatabaseParameterSummary.IsSystemModifiable isSystemModifiable)
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. |
DatabaseParameterSummary.Builder |
name(String name)
The parameter name.
|
DatabaseParameterSummary.Builder |
number(BigDecimal number)
The parameter number.
|
DatabaseParameterSummary.Builder |
ordinal(BigDecimal ordinal)
The position (ordinal number) of the parameter value.
|
DatabaseParameterSummary.Builder |
sid(String sid)
The database instance SID for which the parameter is defined.
|
DatabaseParameterSummary.Builder |
type(DatabaseParameterSummary.Type type)
The parameter type.
|
DatabaseParameterSummary.Builder |
updateComment(String updateComment)
The comments associated with the most recent update.
|
DatabaseParameterSummary.Builder |
value(String value)
The parameter value.
|
public DatabaseParameterSummary.Builder name(String name)
The parameter name.
name
- the value to setpublic DatabaseParameterSummary.Builder type(DatabaseParameterSummary.Type type)
The parameter type.
type
- the value to setpublic DatabaseParameterSummary.Builder value(String value)
The parameter value.
value
- the value to setpublic DatabaseParameterSummary.Builder displayValue(String displayValue)
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.
displayValue
- the value to setpublic DatabaseParameterSummary.Builder number(BigDecimal number)
The parameter number.
number
- the value to setpublic DatabaseParameterSummary.Builder isDefault(Boolean isDefault)
Indicates whether the parameter is set to the default value (TRUE
) or the
parameter value was specified in the parameter file (FALSE
).
isDefault
- the value to setpublic DatabaseParameterSummary.Builder isSessionModifiable(Boolean isSessionModifiable)
Indicates whether the parameter can be changed with ALTER SESSION
(TRUE
)
or not (FALSE
)
isSessionModifiable
- the value to setpublic DatabaseParameterSummary.Builder isSystemModifiable(DatabaseParameterSummary.IsSystemModifiable isSystemModifiable)
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.
isSystemModifiable
- the value to setpublic DatabaseParameterSummary.Builder isPdbModifiable(Boolean isPdbModifiable)
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
.
isPdbModifiable
- the value to setpublic DatabaseParameterSummary.Builder isInstanceModifiable(Boolean isInstanceModifiable)
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
.
isInstanceModifiable
- the value to setpublic DatabaseParameterSummary.Builder isModified(DatabaseParameterSummary.IsModified isModified)
Indicates how the parameter was modified. If an ALTER SYSTEM
was performed, the
value will be MODIFIED
.
isModified
- the value to setpublic DatabaseParameterSummary.Builder isAdjusted(Boolean isAdjusted)
Indicates whether Oracle adjusted the input value to a more suitable value.
isAdjusted
- the value to setpublic DatabaseParameterSummary.Builder isDeprecated(Boolean isDeprecated)
Indicates whether the parameter has been deprecated (TRUE
) or not (FALSE
).
isDeprecated
- the value to setpublic DatabaseParameterSummary.Builder isBasic(Boolean isBasic)
Indicates whether the parameter is a basic parameter (TRUE
) or not (FALSE
).
isBasic
- the value to setpublic DatabaseParameterSummary.Builder description(String description)
The description of the parameter.
description
- the value to setpublic DatabaseParameterSummary.Builder ordinal(BigDecimal ordinal)
The position (ordinal number) of the parameter value. Useful only for parameters whose values are lists of strings.
ordinal
- the value to setpublic DatabaseParameterSummary.Builder updateComment(String updateComment)
The comments associated with the most recent update.
updateComment
- the value to setpublic DatabaseParameterSummary.Builder containerId(BigDecimal containerId)
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.
containerId
- the value to setpublic DatabaseParameterSummary.Builder category(String category)
The parameter category.
category
- the value to setpublic DatabaseParameterSummary.Builder constraint(DatabaseParameterSummary.Constraint constraint)
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.
constraint
- the value to setpublic DatabaseParameterSummary.Builder sid(String sid)
The database instance SID for which the parameter is defined.
sid
- the value to setpublic DatabaseParameterSummary.Builder isSpecified(Boolean isSpecified)
Indicates whether the parameter was specified in the server parameter file (TRUE
)
or not (FALSE
). Applicable only when the parameter source is SPFILE
.
isSpecified
- the value to setpublic DatabaseParameterSummary.Builder allowedValues(List<AllowedParameterValue> allowedValues)
A list of allowed values for this parameter.
allowedValues
- the value to setpublic DatabaseParameterSummary build()
public DatabaseParameterSummary.Builder copy(DatabaseParameterSummary model)
Copyright © 2016–2024. All rights reserved.