[][src]Struct gcp_client::google::cloud::dataproc::v1beta2::SoftwareConfig

pub struct SoftwareConfig {
    pub image_version: String,
    pub properties: HashMap<String, String>,
    pub optional_components: Vec<i32>,
}

Specifies the selection and config of software inside the cluster.

Fields

image_version: String

Optional. The version of software inside the cluster. It must be one of the supported Dataproc Versions, such as "1.2" (including a subminor version, such as "1.2.29"), or the "preview" version. If unspecified, it defaults to the latest Debian version.

properties: HashMap<String, String>

Optional. The properties to set on daemon config files.

Property keys are specified in prefix:property format, for example core:hadoop.tmp.dir. The following are supported prefixes and their mappings:

  • capacity-scheduler: capacity-scheduler.xml
  • core: core-site.xml
  • distcp: distcp-default.xml
  • hdfs: hdfs-site.xml
  • hive: hive-site.xml
  • mapred: mapred-site.xml
  • pig: pig.properties
  • spark: spark-defaults.conf
  • yarn: yarn-site.xml

For more information, see Cluster properties.

optional_components: Vec<i32>

The set of optional components to activate on the cluster.

Implementations

impl SoftwareConfig[src]

pub fn optional_components(
    &self
) -> FilterMap<Cloned<Iter<i32>>, fn(_: i32) -> Option<Component>>
[src]

Returns an iterator which yields the valid enum values contained in optional_components.

pub fn push_optional_components(&mut self, value: Component)[src]

Appends the provided enum value to optional_components.

Trait Implementations

impl Clone for SoftwareConfig[src]

impl Debug for SoftwareConfig[src]

impl Default for SoftwareConfig[src]

impl Message for SoftwareConfig[src]

impl PartialEq<SoftwareConfig> for SoftwareConfig[src]

impl StructuralPartialEq for SoftwareConfig[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]