Struct aws_sdk_workspaces::operation::authorize_ip_rules::builders::AuthorizeIpRulesInputBuilder
source · #[non_exhaustive]pub struct AuthorizeIpRulesInputBuilder { /* private fields */ }
Expand description
A builder for AuthorizeIpRulesInput
.
Implementations§
source§impl AuthorizeIpRulesInputBuilder
impl AuthorizeIpRulesInputBuilder
sourcepub fn set_group_id(self, input: Option<String>) -> Self
pub fn set_group_id(self, input: Option<String>) -> Self
The identifier 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 build(self) -> Result<AuthorizeIpRulesInput, BuildError>
pub fn build(self) -> Result<AuthorizeIpRulesInput, BuildError>
Consumes the builder and constructs a AuthorizeIpRulesInput
.
Trait Implementations§
source§impl Clone for AuthorizeIpRulesInputBuilder
impl Clone for AuthorizeIpRulesInputBuilder
source§fn clone(&self) -> AuthorizeIpRulesInputBuilder
fn clone(&self) -> AuthorizeIpRulesInputBuilder
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 AuthorizeIpRulesInputBuilder
impl Debug for AuthorizeIpRulesInputBuilder
source§impl Default for AuthorizeIpRulesInputBuilder
impl Default for AuthorizeIpRulesInputBuilder
source§fn default() -> AuthorizeIpRulesInputBuilder
fn default() -> AuthorizeIpRulesInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<AuthorizeIpRulesInputBuilder> for AuthorizeIpRulesInputBuilder
impl PartialEq<AuthorizeIpRulesInputBuilder> for AuthorizeIpRulesInputBuilder
source§fn eq(&self, other: &AuthorizeIpRulesInputBuilder) -> bool
fn eq(&self, other: &AuthorizeIpRulesInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AuthorizeIpRulesInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for AuthorizeIpRulesInputBuilder
impl Send for AuthorizeIpRulesInputBuilder
impl Sync for AuthorizeIpRulesInputBuilder
impl Unpin for AuthorizeIpRulesInputBuilder
impl UnwindSafe for AuthorizeIpRulesInputBuilder
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