#[non_exhaustive]pub struct CreateAllowListInputBuilder { /* private fields */ }
Expand description
A builder for CreateAllowListInput
.
Implementations§
source§impl CreateAllowListInputBuilder
impl CreateAllowListInputBuilder
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
A unique, case-sensitive token that you provide to ensure the idempotency of the request.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
A unique, case-sensitive token that you provide to ensure the idempotency of the request.
sourcepub fn criteria(self, input: AllowListCriteria) -> Self
pub fn criteria(self, input: AllowListCriteria) -> Self
The criteria that specify the text or text pattern to ignore. The criteria can be the location and name of an S3 object that lists specific text to ignore (s3WordsList), or a regular expression (regex) that defines a text pattern to ignore.
sourcepub fn set_criteria(self, input: Option<AllowListCriteria>) -> Self
pub fn set_criteria(self, input: Option<AllowListCriteria>) -> Self
The criteria that specify the text or text pattern to ignore. The criteria can be the location and name of an S3 object that lists specific text to ignore (s3WordsList), or a regular expression (regex) that defines a text pattern to ignore.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A custom description of the allow list. The description can contain as many as 512 characters.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A custom description of the allow list. The description can contain as many as 512 characters.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
A custom name for the allow list. The name can contain as many as 128 characters.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
A custom name for the allow list. The name can contain as many as 128 characters.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
A map of key-value pairs that specifies the tags to associate with the allow list.
An allow list can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.
A map of key-value pairs that specifies the tags to associate with the allow list.
An allow list can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.
sourcepub fn build(self) -> Result<CreateAllowListInput, BuildError>
pub fn build(self) -> Result<CreateAllowListInput, BuildError>
Consumes the builder and constructs a CreateAllowListInput
.
Trait Implementations§
source§impl Clone for CreateAllowListInputBuilder
impl Clone for CreateAllowListInputBuilder
source§fn clone(&self) -> CreateAllowListInputBuilder
fn clone(&self) -> CreateAllowListInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateAllowListInputBuilder
impl Debug for CreateAllowListInputBuilder
source§impl Default for CreateAllowListInputBuilder
impl Default for CreateAllowListInputBuilder
source§fn default() -> CreateAllowListInputBuilder
fn default() -> CreateAllowListInputBuilder
source§impl PartialEq<CreateAllowListInputBuilder> for CreateAllowListInputBuilder
impl PartialEq<CreateAllowListInputBuilder> for CreateAllowListInputBuilder
source§fn eq(&self, other: &CreateAllowListInputBuilder) -> bool
fn eq(&self, other: &CreateAllowListInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.