#[non_exhaustive]pub struct CreateIpGroupInputBuilder { /* private fields */ }
Expand description
A builder for CreateIpGroupInput
.
Implementations§
source§impl CreateIpGroupInputBuilder
impl CreateIpGroupInputBuilder
sourcepub fn group_name(self, input: impl Into<String>) -> Self
pub fn group_name(self, input: impl Into<String>) -> Self
The name of the group.
sourcepub fn set_group_name(self, input: Option<String>) -> Self
pub fn set_group_name(self, input: Option<String>) -> Self
The name of the group.
sourcepub fn group_desc(self, input: impl Into<String>) -> Self
pub fn group_desc(self, input: impl Into<String>) -> Self
The description of the group.
sourcepub fn set_group_desc(self, input: Option<String>) -> Self
pub fn set_group_desc(self, input: Option<String>) -> Self
The description of the group.
sourcepub fn user_rules(self, input: IpRuleItem) -> Self
pub fn user_rules(self, input: IpRuleItem) -> Self
Appends an item to user_rules
.
To override the contents of this collection use set_user_rules
.
The rules to add to the group.
sourcepub fn set_user_rules(self, input: Option<Vec<IpRuleItem>>) -> Self
pub fn set_user_rules(self, input: Option<Vec<IpRuleItem>>) -> Self
The rules to add to the group.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
The tags. Each WorkSpaces resource can have a maximum of 50 tags.
The tags. Each WorkSpaces resource can have a maximum of 50 tags.
sourcepub fn build(self) -> Result<CreateIpGroupInput, BuildError>
pub fn build(self) -> Result<CreateIpGroupInput, BuildError>
Consumes the builder and constructs a CreateIpGroupInput
.
Trait Implementations§
source§impl Clone for CreateIpGroupInputBuilder
impl Clone for CreateIpGroupInputBuilder
source§fn clone(&self) -> CreateIpGroupInputBuilder
fn clone(&self) -> CreateIpGroupInputBuilder
Returns a copy 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 CreateIpGroupInputBuilder
impl Debug for CreateIpGroupInputBuilder
source§impl Default for CreateIpGroupInputBuilder
impl Default for CreateIpGroupInputBuilder
source§fn default() -> CreateIpGroupInputBuilder
fn default() -> CreateIpGroupInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<CreateIpGroupInputBuilder> for CreateIpGroupInputBuilder
impl PartialEq<CreateIpGroupInputBuilder> for CreateIpGroupInputBuilder
source§fn eq(&self, other: &CreateIpGroupInputBuilder) -> bool
fn eq(&self, other: &CreateIpGroupInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateIpGroupInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for CreateIpGroupInputBuilder
impl Send for CreateIpGroupInputBuilder
impl Sync for CreateIpGroupInputBuilder
impl Unpin for CreateIpGroupInputBuilder
impl UnwindSafe for CreateIpGroupInputBuilder
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