#[non_exhaustive]pub struct UpdateIpSetInputBuilder { /* private fields */ }Expand description
A builder for UpdateIpSetInput.
Implementations§
source§impl UpdateIpSetInputBuilder
impl UpdateIpSetInputBuilder
sourcepub fn ip_set_id(self, input: impl Into<String>) -> Self
pub fn ip_set_id(self, input: impl Into<String>) -> Self
The IPSetId of the IPSet that you want to update. IPSetId is returned by CreateIPSet and by ListIPSets.
sourcepub fn set_ip_set_id(self, input: Option<String>) -> Self
pub fn set_ip_set_id(self, input: Option<String>) -> Self
The IPSetId of the IPSet that you want to update. IPSetId is returned by CreateIPSet and by ListIPSets.
sourcepub fn get_ip_set_id(&self) -> &Option<String>
pub fn get_ip_set_id(&self) -> &Option<String>
The IPSetId of the IPSet that you want to update. IPSetId is returned by CreateIPSet and by ListIPSets.
sourcepub fn change_token(self, input: impl Into<String>) -> Self
pub fn change_token(self, input: impl Into<String>) -> Self
The value returned by the most recent call to GetChangeToken.
sourcepub fn set_change_token(self, input: Option<String>) -> Self
pub fn set_change_token(self, input: Option<String>) -> Self
The value returned by the most recent call to GetChangeToken.
sourcepub fn get_change_token(&self) -> &Option<String>
pub fn get_change_token(&self) -> &Option<String>
The value returned by the most recent call to GetChangeToken.
sourcepub fn updates(self, input: IpSetUpdate) -> Self
pub fn updates(self, input: IpSetUpdate) -> Self
Appends an item to updates.
To override the contents of this collection use set_updates.
An array of IPSetUpdate objects that you want to insert into or delete from an IPSet. For more information, see the applicable data types:
-
IPSetUpdate: ContainsActionandIPSetDescriptor -
IPSetDescriptor: ContainsTypeandValue
You can insert a maximum of 1000 addresses in a single request.
sourcepub fn set_updates(self, input: Option<Vec<IpSetUpdate>>) -> Self
pub fn set_updates(self, input: Option<Vec<IpSetUpdate>>) -> Self
An array of IPSetUpdate objects that you want to insert into or delete from an IPSet. For more information, see the applicable data types:
-
IPSetUpdate: ContainsActionandIPSetDescriptor -
IPSetDescriptor: ContainsTypeandValue
You can insert a maximum of 1000 addresses in a single request.
sourcepub fn get_updates(&self) -> &Option<Vec<IpSetUpdate>>
pub fn get_updates(&self) -> &Option<Vec<IpSetUpdate>>
An array of IPSetUpdate objects that you want to insert into or delete from an IPSet. For more information, see the applicable data types:
-
IPSetUpdate: ContainsActionandIPSetDescriptor -
IPSetDescriptor: ContainsTypeandValue
You can insert a maximum of 1000 addresses in a single request.
sourcepub fn build(self) -> Result<UpdateIpSetInput, BuildError>
pub fn build(self) -> Result<UpdateIpSetInput, BuildError>
Consumes the builder and constructs a UpdateIpSetInput.
source§impl UpdateIpSetInputBuilder
impl UpdateIpSetInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<UpdateIpSetOutput, SdkError<UpdateIPSetError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<UpdateIpSetOutput, SdkError<UpdateIPSetError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateIpSetInputBuilder
impl Clone for UpdateIpSetInputBuilder
source§fn clone(&self) -> UpdateIpSetInputBuilder
fn clone(&self) -> UpdateIpSetInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UpdateIpSetInputBuilder
impl Debug for UpdateIpSetInputBuilder
source§impl Default for UpdateIpSetInputBuilder
impl Default for UpdateIpSetInputBuilder
source§fn default() -> UpdateIpSetInputBuilder
fn default() -> UpdateIpSetInputBuilder
source§impl PartialEq for UpdateIpSetInputBuilder
impl PartialEq for UpdateIpSetInputBuilder
impl StructuralPartialEq for UpdateIpSetInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateIpSetInputBuilder
impl RefUnwindSafe for UpdateIpSetInputBuilder
impl Send for UpdateIpSetInputBuilder
impl Sync for UpdateIpSetInputBuilder
impl Unpin for UpdateIpSetInputBuilder
impl UnwindSafe for UpdateIpSetInputBuilder
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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