pub struct UpdateFirewallDomainsRequest {
pub domains: Vec<String>,
pub firewall_domain_list_id: String,
pub operation: String,
}
Fields§
§domains: Vec<String>
A list of domains to use in the update operation.
Each domain specification in your domain list must satisfy the following requirements:
-
It can optionally start with
*
(asterisk). -
With the exception of the optional starting asterisk, it must only contain the following characters:
A-Z
,a-z
,0-9
,-
(hyphen). -
It must be from 1-255 characters in length.
firewall_domain_list_id: String
The ID of the domain list whose domains you want to update.
operation: String
What you want DNS Firewall to do with the domains that you are providing:
-
ADD
- Add the domains to the ones that are already in the domain list. -
REMOVE
- Search the domain list for the domains and remove them from the list. -
REPLACE
- Update the domain list to exactly match the list that you are providing.
Trait Implementations§
Source§impl Clone for UpdateFirewallDomainsRequest
impl Clone for UpdateFirewallDomainsRequest
Source§fn clone(&self) -> UpdateFirewallDomainsRequest
fn clone(&self) -> UpdateFirewallDomainsRequest
Returns a duplicate 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 UpdateFirewallDomainsRequest
impl Debug for UpdateFirewallDomainsRequest
Source§impl Default for UpdateFirewallDomainsRequest
impl Default for UpdateFirewallDomainsRequest
Source§fn default() -> UpdateFirewallDomainsRequest
fn default() -> UpdateFirewallDomainsRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for UpdateFirewallDomainsRequest
impl PartialEq for UpdateFirewallDomainsRequest
Source§fn eq(&self, other: &UpdateFirewallDomainsRequest) -> bool
fn eq(&self, other: &UpdateFirewallDomainsRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for UpdateFirewallDomainsRequest
Auto Trait Implementations§
impl Freeze for UpdateFirewallDomainsRequest
impl RefUnwindSafe for UpdateFirewallDomainsRequest
impl Send for UpdateFirewallDomainsRequest
impl Sync for UpdateFirewallDomainsRequest
impl Unpin for UpdateFirewallDomainsRequest
impl UnwindSafe for UpdateFirewallDomainsRequest
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