#[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.
This field is required.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 get_group_name(&self) -> &Option<String>
pub fn get_group_name(&self) -> &Option<String>
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 get_group_desc(&self) -> &Option<String>
pub fn get_group_desc(&self) -> &Option<String>
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.
sourcepub fn get_user_rules(&self) -> &Option<Vec<IpRuleItem>>
pub fn get_user_rules(&self) -> &Option<Vec<IpRuleItem>>
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.
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.
source§impl CreateIpGroupInputBuilder
impl CreateIpGroupInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateIpGroupOutput, SdkError<CreateIpGroupError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateIpGroupOutput, SdkError<CreateIpGroupError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateIpGroupInputBuilder
impl Clone for CreateIpGroupInputBuilder
source§fn clone(&self) -> CreateIpGroupInputBuilder
fn clone(&self) -> CreateIpGroupInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
source§impl PartialEq for CreateIpGroupInputBuilder
impl PartialEq for CreateIpGroupInputBuilder
source§fn eq(&self, other: &CreateIpGroupInputBuilder) -> bool
fn eq(&self, other: &CreateIpGroupInputBuilder) -> bool
self and other values to be equal, and is used
by ==.