Struct aws_sdk_emr::types::Configuration
source · #[non_exhaustive]pub struct Configuration {
pub classification: Option<String>,
pub configurations: Option<Vec<Configuration>>,
pub properties: Option<HashMap<String, String>>,
}
Expand description
Amazon EMR releases 4.x or later.
An optional configuration specification to be used when provisioning cluster instances, which can include configurations for applications and software bundled with Amazon EMR. A configuration consists of a classification, properties, and optional nested configurations. A classification refers to an application-specific configuration file. Properties are the settings you want to change in that file. For more information, see Configuring Applications.
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.classification: Option<String>
The classification within a configuration.
configurations: Option<Vec<Configuration>>
A list of additional configurations to apply within a configuration object.
properties: Option<HashMap<String, String>>
A set of properties specified within a configuration classification.
Implementations§
source§impl Configuration
impl Configuration
sourcepub fn classification(&self) -> Option<&str>
pub fn classification(&self) -> Option<&str>
The classification within a configuration.
sourcepub fn configurations(&self) -> &[Configuration]
pub fn configurations(&self) -> &[Configuration]
A list of additional configurations to apply within a configuration object.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .configurations.is_none()
.
source§impl Configuration
impl Configuration
sourcepub fn builder() -> ConfigurationBuilder
pub fn builder() -> ConfigurationBuilder
Creates a new builder-style object to manufacture Configuration
.
Trait Implementations§
source§impl Clone for Configuration
impl Clone for Configuration
source§fn clone(&self) -> Configuration
fn clone(&self) -> Configuration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for Configuration
impl Debug for Configuration
source§impl PartialEq for Configuration
impl PartialEq for Configuration
source§fn eq(&self, other: &Configuration) -> bool
fn eq(&self, other: &Configuration) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for Configuration
Auto Trait Implementations§
impl Freeze for Configuration
impl RefUnwindSafe for Configuration
impl Send for Configuration
impl Sync for Configuration
impl Unpin for Configuration
impl UnwindSafe for Configuration
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> 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