Class ProcessorFeature
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ProcessorFeature.Builder,ProcessorFeature>
Contains the processor features of a DB instance class.
To specify the number of CPU cores, use the coreCount feature name for the Name parameter.
To specify the number of threads per core, use the threadsPerCore feature name for the Name
parameter.
You can set the processor features of the DB instance class for a DB instance when you call one of the following actions:
-
CreateDBInstance -
ModifyDBInstance -
RestoreDBInstanceFromDBSnapshot -
RestoreDBInstanceFromS3 -
RestoreDBInstanceToPointInTime
You can view the valid processor values for a particular instance class by calling the
DescribeOrderableDBInstanceOptions action and specifying the instance class for the
DBInstanceClass parameter.
In addition, you can use the following actions for DB instance class processor information:
-
DescribeDBInstances -
DescribeDBSnapshots -
DescribeValidDBInstanceModifications
If you call DescribeDBInstances, ProcessorFeature returns non-null values only if the
following conditions are met:
-
You are accessing an Oracle DB instance.
-
Your Oracle DB instance class supports configuring the number of CPU cores and threads per core.
-
The current number CPU cores and threads is set to a non-default value.
For more information, see Configuring the processor for a DB instance class in RDS for Oracle in the Amazon RDS User Guide.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic ProcessorFeature.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Stringname()The name of the processor feature.static Class<? extends ProcessorFeature.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final Stringvalue()The value of a processor feature.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
name
The name of the processor feature. Valid names are
coreCountandthreadsPerCore.- Returns:
- The name of the processor feature. Valid names are
coreCountandthreadsPerCore.
-
value
The value of a processor feature.
- Returns:
- The value of a processor feature.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<ProcessorFeature.Builder,ProcessorFeature> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-