Struct aws_sdk_rds::types::ProcessorFeature
source · #[non_exhaustive]pub struct ProcessorFeature {
pub name: Option<String>,
pub value: Option<String>,
}Expand description
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.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: Option<String>The name of the processor feature. Valid names are coreCount and threadsPerCore.
value: Option<String>The value of a processor feature.
Implementations§
source§impl ProcessorFeature
impl ProcessorFeature
sourcepub fn builder() -> ProcessorFeatureBuilder
pub fn builder() -> ProcessorFeatureBuilder
Creates a new builder-style object to manufacture ProcessorFeature.
Trait Implementations§
source§impl Clone for ProcessorFeature
impl Clone for ProcessorFeature
source§fn clone(&self) -> ProcessorFeature
fn clone(&self) -> ProcessorFeature
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ProcessorFeature
impl Debug for ProcessorFeature
source§impl PartialEq for ProcessorFeature
impl PartialEq for ProcessorFeature
impl StructuralPartialEq for ProcessorFeature
Auto Trait Implementations§
impl Freeze for ProcessorFeature
impl RefUnwindSafe for ProcessorFeature
impl Send for ProcessorFeature
impl Sync for ProcessorFeature
impl Unpin for ProcessorFeature
impl UnwindSafe for ProcessorFeature
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more