Struct aws_sdk_workspaces::input::authorize_ip_rules_input::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for AuthorizeIpRulesInput.
Implementations§
source§impl Builder
impl Builder
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.