#[non_exhaustive]pub struct NodeGroupAffinity {
pub node_group_uri: String,
/* private fields */
}
Expand description
Node Group Affinity for clusters using sole-tenant node groups.
The Dataproc NodeGroupAffinity
resource is not related to the
Dataproc NodeGroup resource.
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.node_group_uri: String
Required. The URI of a sole-tenant node group resource that the cluster will be created on.
A full URL, partial URI, or node group name are valid. Examples:
<https://www.googleapis.com/compute/v1/projects/>[project_id]/zones/[zone]/nodeGroups/node-group-1
projects/[project_id]/zones/[zone]/nodeGroups/node-group-1
node-group-1
Implementations§
Source§impl NodeGroupAffinity
impl NodeGroupAffinity
pub fn new() -> Self
Sourcepub fn set_node_group_uri<T: Into<String>>(self, v: T) -> Self
pub fn set_node_group_uri<T: Into<String>>(self, v: T) -> Self
Sets the value of node_group_uri.
Trait Implementations§
Source§impl Clone for NodeGroupAffinity
impl Clone for NodeGroupAffinity
Source§fn clone(&self) -> NodeGroupAffinity
fn clone(&self) -> NodeGroupAffinity
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 NodeGroupAffinity
impl Debug for NodeGroupAffinity
Source§impl Default for NodeGroupAffinity
impl Default for NodeGroupAffinity
Source§fn default() -> NodeGroupAffinity
fn default() -> NodeGroupAffinity
Returns the “default value” for a type. Read more
Source§impl Message for NodeGroupAffinity
impl Message for NodeGroupAffinity
Source§impl PartialEq for NodeGroupAffinity
impl PartialEq for NodeGroupAffinity
impl StructuralPartialEq for NodeGroupAffinity
Auto Trait Implementations§
impl Freeze for NodeGroupAffinity
impl RefUnwindSafe for NodeGroupAffinity
impl Send for NodeGroupAffinity
impl Sync for NodeGroupAffinity
impl Unpin for NodeGroupAffinity
impl UnwindSafe for NodeGroupAffinity
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