#[non_exhaustive]pub struct AuxiliaryServicesConfig {
pub metastore_config: Option<MetastoreConfig>,
pub spark_history_server_config: Option<SparkHistoryServerConfig>,
/* private fields */
}Expand description
Auxiliary services configuration for a Cluster.
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.metastore_config: Option<MetastoreConfig>Optional. The Hive Metastore configuration for this workload.
spark_history_server_config: Option<SparkHistoryServerConfig>Optional. The Spark History Server configuration for the workload.
Implementations§
Source§impl AuxiliaryServicesConfig
impl AuxiliaryServicesConfig
pub fn new() -> Self
Sourcepub fn set_metastore_config<T>(self, v: T) -> Selfwhere
T: Into<MetastoreConfig>,
pub fn set_metastore_config<T>(self, v: T) -> Selfwhere
T: Into<MetastoreConfig>,
Sets the value of metastore_config.
Sourcepub fn set_or_clear_metastore_config<T>(self, v: Option<T>) -> Selfwhere
T: Into<MetastoreConfig>,
pub fn set_or_clear_metastore_config<T>(self, v: Option<T>) -> Selfwhere
T: Into<MetastoreConfig>,
Sets or clears the value of metastore_config.
Sourcepub fn set_spark_history_server_config<T>(self, v: T) -> Selfwhere
T: Into<SparkHistoryServerConfig>,
pub fn set_spark_history_server_config<T>(self, v: T) -> Selfwhere
T: Into<SparkHistoryServerConfig>,
Sets the value of spark_history_server_config.
Sourcepub fn set_or_clear_spark_history_server_config<T>(self, v: Option<T>) -> Selfwhere
T: Into<SparkHistoryServerConfig>,
pub fn set_or_clear_spark_history_server_config<T>(self, v: Option<T>) -> Selfwhere
T: Into<SparkHistoryServerConfig>,
Sets or clears the value of spark_history_server_config.
Trait Implementations§
Source§impl Clone for AuxiliaryServicesConfig
impl Clone for AuxiliaryServicesConfig
Source§fn clone(&self) -> AuxiliaryServicesConfig
fn clone(&self) -> AuxiliaryServicesConfig
Returns a duplicate 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 AuxiliaryServicesConfig
impl Debug for AuxiliaryServicesConfig
Source§impl Default for AuxiliaryServicesConfig
impl Default for AuxiliaryServicesConfig
Source§fn default() -> AuxiliaryServicesConfig
fn default() -> AuxiliaryServicesConfig
Returns the “default value” for a type. Read more
Source§impl Message for AuxiliaryServicesConfig
impl Message for AuxiliaryServicesConfig
Source§impl PartialEq for AuxiliaryServicesConfig
impl PartialEq for AuxiliaryServicesConfig
impl StructuralPartialEq for AuxiliaryServicesConfig
Auto Trait Implementations§
impl Freeze for AuxiliaryServicesConfig
impl RefUnwindSafe for AuxiliaryServicesConfig
impl Send for AuxiliaryServicesConfig
impl Sync for AuxiliaryServicesConfig
impl Unpin for AuxiliaryServicesConfig
impl UnwindSafe for AuxiliaryServicesConfig
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