#[non_exhaustive]pub struct PeripheralsConfig {
pub metastore_service: String,
pub spark_history_server_config: Option<SparkHistoryServerConfig>,
/* private fields */
}Expand description
Auxiliary services configuration for a workload.
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_service: StringOptional. Resource name of an existing Dataproc Metastore service.
Example:
projects/[project_id]/locations/[region]/services/[service_id]
spark_history_server_config: Option<SparkHistoryServerConfig>Optional. The Spark History Server configuration for the workload.
Implementations§
Source§impl PeripheralsConfig
impl PeripheralsConfig
pub fn new() -> Self
Sourcepub fn set_metastore_service<T: Into<String>>(self, v: T) -> Self
pub fn set_metastore_service<T: Into<String>>(self, v: T) -> Self
Sets the value of metastore_service.
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 PeripheralsConfig
impl Clone for PeripheralsConfig
Source§fn clone(&self) -> PeripheralsConfig
fn clone(&self) -> PeripheralsConfig
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 PeripheralsConfig
impl Debug for PeripheralsConfig
Source§impl Default for PeripheralsConfig
impl Default for PeripheralsConfig
Source§fn default() -> PeripheralsConfig
fn default() -> PeripheralsConfig
Returns the “default value” for a type. Read more
Source§impl Message for PeripheralsConfig
impl Message for PeripheralsConfig
Source§impl PartialEq for PeripheralsConfig
impl PartialEq for PeripheralsConfig
impl StructuralPartialEq for PeripheralsConfig
Auto Trait Implementations§
impl Freeze for PeripheralsConfig
impl RefUnwindSafe for PeripheralsConfig
impl Send for PeripheralsConfig
impl Sync for PeripheralsConfig
impl Unpin for PeripheralsConfig
impl UnwindSafe for PeripheralsConfig
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