#[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 ==.impl StructuralPartialEq for CreateIpGroupInputBuilder
Auto Trait Implementations§
impl Freeze for CreateIpGroupInputBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more