pub struct CreateListFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateList
.
Creates a list.
List is a set of input data for a variable in your event dataset. You use the input data in a rule that's associated with your detector. For more information, see Lists.
Implementations§
source§impl CreateListFluentBuilder
impl CreateListFluentBuilder
sourcepub fn as_input(&self) -> &CreateListInputBuilder
pub fn as_input(&self) -> &CreateListInputBuilder
Access the CreateList as a reference.
sourcepub async fn send(
self
) -> Result<CreateListOutput, SdkError<CreateListError, HttpResponse>>
pub async fn send( self ) -> Result<CreateListOutput, SdkError<CreateListError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<CreateListOutput, CreateListError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateListOutput, CreateListError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn elements(self, input: impl Into<String>) -> Self
pub fn elements(self, input: impl Into<String>) -> Self
Appends an item to elements
.
To override the contents of this collection use set_elements
.
The names of the elements, if providing. You can also create an empty list and add elements later using the UpdateList API.
sourcepub fn set_elements(self, input: Option<Vec<String>>) -> Self
pub fn set_elements(self, input: Option<Vec<String>>) -> Self
The names of the elements, if providing. You can also create an empty list and add elements later using the UpdateList API.
sourcepub fn get_elements(&self) -> &Option<Vec<String>>
pub fn get_elements(&self) -> &Option<Vec<String>>
The names of the elements, if providing. You can also create an empty list and add elements later using the UpdateList API.
sourcepub fn variable_type(self, input: impl Into<String>) -> Self
pub fn variable_type(self, input: impl Into<String>) -> Self
The variable type of the list. You can only assign the variable type with String data type. For more information, see Variable types.
sourcepub fn set_variable_type(self, input: Option<String>) -> Self
pub fn set_variable_type(self, input: Option<String>) -> Self
The variable type of the list. You can only assign the variable type with String data type. For more information, see Variable types.
sourcepub fn get_variable_type(&self) -> &Option<String>
pub fn get_variable_type(&self) -> &Option<String>
The variable type of the list. You can only assign the variable type with String data type. For more information, see Variable types.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the list.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the list.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the list.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
A collection of the key and value pairs.
A collection of the key and value pairs.
A collection of the key and value pairs.
Trait Implementations§
source§impl Clone for CreateListFluentBuilder
impl Clone for CreateListFluentBuilder
source§fn clone(&self) -> CreateListFluentBuilder
fn clone(&self) -> CreateListFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more