Struct aws_sdk_iotanalytics::types::ResourceConfiguration
source · #[non_exhaustive]pub struct ResourceConfiguration {
pub compute_type: ComputeType,
pub volume_size_in_gb: i32,
}
Expand description
The configuration of the resource used to execute the containerAction
.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.compute_type: ComputeType
The type of the compute resource used to execute the containerAction
. Possible values are: ACU_1
(vCPU=4, memory=16 GiB) or ACU_2
(vCPU=8, memory=32 GiB).
volume_size_in_gb: i32
The size, in GB, of the persistent storage available to the resource instance used to execute the containerAction
(min: 1, max: 50).
Implementations§
source§impl ResourceConfiguration
impl ResourceConfiguration
sourcepub fn compute_type(&self) -> &ComputeType
pub fn compute_type(&self) -> &ComputeType
The type of the compute resource used to execute the containerAction
. Possible values are: ACU_1
(vCPU=4, memory=16 GiB) or ACU_2
(vCPU=8, memory=32 GiB).
sourcepub fn volume_size_in_gb(&self) -> i32
pub fn volume_size_in_gb(&self) -> i32
The size, in GB, of the persistent storage available to the resource instance used to execute the containerAction
(min: 1, max: 50).
source§impl ResourceConfiguration
impl ResourceConfiguration
sourcepub fn builder() -> ResourceConfigurationBuilder
pub fn builder() -> ResourceConfigurationBuilder
Creates a new builder-style object to manufacture ResourceConfiguration
.
Trait Implementations§
source§impl Clone for ResourceConfiguration
impl Clone for ResourceConfiguration
source§fn clone(&self) -> ResourceConfiguration
fn clone(&self) -> ResourceConfiguration
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ResourceConfiguration
impl Debug for ResourceConfiguration
source§impl PartialEq for ResourceConfiguration
impl PartialEq for ResourceConfiguration
source§fn eq(&self, other: &ResourceConfiguration) -> bool
fn eq(&self, other: &ResourceConfiguration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ResourceConfiguration
Auto Trait Implementations§
impl RefUnwindSafe for ResourceConfiguration
impl Send for ResourceConfiguration
impl Sync for ResourceConfiguration
impl Unpin for ResourceConfiguration
impl UnwindSafe for ResourceConfiguration
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.