#[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
source§fn eq(&self, other: &UpdateIpSetInputBuilder) -> bool
fn eq(&self, other: &UpdateIpSetInputBuilder) -> bool
self and other values to be equal, and is used
by ==.