#[non_exhaustive]pub struct CreateGroupInputBuilder { /* private fields */ }
Expand description
A builder for CreateGroupInput
.
Implementations§
source§impl CreateGroupInputBuilder
impl CreateGroupInputBuilder
sourcepub fn group_name(self, input: impl Into<String>) -> Self
pub fn group_name(self, input: impl Into<String>) -> Self
The case-sensitive name of the new group. Default is a reserved name and names must be unique.
This field is required.sourcepub fn set_group_name(self, input: Option<String>) -> Self
pub fn set_group_name(self, input: Option<String>) -> Self
The case-sensitive name of the new group. Default is a reserved name and names must be unique.
sourcepub fn get_group_name(&self) -> &Option<String>
pub fn get_group_name(&self) -> &Option<String>
The case-sensitive name of the new group. Default is a reserved name and names must be unique.
sourcepub fn filter_expression(self, input: impl Into<String>) -> Self
pub fn filter_expression(self, input: impl Into<String>) -> Self
The filter expression defining criteria by which to group traces.
sourcepub fn set_filter_expression(self, input: Option<String>) -> Self
pub fn set_filter_expression(self, input: Option<String>) -> Self
The filter expression defining criteria by which to group traces.
sourcepub fn get_filter_expression(&self) -> &Option<String>
pub fn get_filter_expression(&self) -> &Option<String>
The filter expression defining criteria by which to group traces.
sourcepub fn insights_configuration(self, input: InsightsConfiguration) -> Self
pub fn insights_configuration(self, input: InsightsConfiguration) -> Self
The structure containing configurations related to insights.
-
The InsightsEnabled boolean can be set to true to enable insights for the new group or false to disable insights for the new group.
-
The NotificationsEnabled boolean can be set to true to enable insights notifications for the new group. Notifications may only be enabled on a group with InsightsEnabled set to true.
sourcepub fn set_insights_configuration(
self,
input: Option<InsightsConfiguration>
) -> Self
pub fn set_insights_configuration( self, input: Option<InsightsConfiguration> ) -> Self
The structure containing configurations related to insights.
-
The InsightsEnabled boolean can be set to true to enable insights for the new group or false to disable insights for the new group.
-
The NotificationsEnabled boolean can be set to true to enable insights notifications for the new group. Notifications may only be enabled on a group with InsightsEnabled set to true.
sourcepub fn get_insights_configuration(&self) -> &Option<InsightsConfiguration>
pub fn get_insights_configuration(&self) -> &Option<InsightsConfiguration>
The structure containing configurations related to insights.
-
The InsightsEnabled boolean can be set to true to enable insights for the new group or false to disable insights for the new group.
-
The NotificationsEnabled boolean can be set to true to enable insights notifications for the new group. Notifications may only be enabled on a group with InsightsEnabled set to true.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
A map that contains one or more tag keys and tag values to attach to an X-Ray group. For more information about ways to use tags, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference.
The following restrictions apply to tags:
-
Maximum number of user-applied tags per resource: 50
-
Maximum tag key length: 128 Unicode characters
-
Maximum tag value length: 256 Unicode characters
-
Valid values for key and value: a-z, A-Z, 0-9, space, and the following characters: _ . : / = + - and @
-
Tag keys and values are case sensitive.
-
Don't use
aws:
as a prefix for keys; it's reserved for Amazon Web Services use.
A map that contains one or more tag keys and tag values to attach to an X-Ray group. For more information about ways to use tags, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference.
The following restrictions apply to tags:
-
Maximum number of user-applied tags per resource: 50
-
Maximum tag key length: 128 Unicode characters
-
Maximum tag value length: 256 Unicode characters
-
Valid values for key and value: a-z, A-Z, 0-9, space, and the following characters: _ . : / = + - and @
-
Tag keys and values are case sensitive.
-
Don't use
aws:
as a prefix for keys; it's reserved for Amazon Web Services use.
A map that contains one or more tag keys and tag values to attach to an X-Ray group. For more information about ways to use tags, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference.
The following restrictions apply to tags:
-
Maximum number of user-applied tags per resource: 50
-
Maximum tag key length: 128 Unicode characters
-
Maximum tag value length: 256 Unicode characters
-
Valid values for key and value: a-z, A-Z, 0-9, space, and the following characters: _ . : / = + - and @
-
Tag keys and values are case sensitive.
-
Don't use
aws:
as a prefix for keys; it's reserved for Amazon Web Services use.
sourcepub fn build(self) -> Result<CreateGroupInput, BuildError>
pub fn build(self) -> Result<CreateGroupInput, BuildError>
Consumes the builder and constructs a CreateGroupInput
.
source§impl CreateGroupInputBuilder
impl CreateGroupInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateGroupOutput, SdkError<CreateGroupError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateGroupOutput, SdkError<CreateGroupError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateGroupInputBuilder
impl Clone for CreateGroupInputBuilder
source§fn clone(&self) -> CreateGroupInputBuilder
fn clone(&self) -> CreateGroupInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateGroupInputBuilder
impl Debug for CreateGroupInputBuilder
source§impl Default for CreateGroupInputBuilder
impl Default for CreateGroupInputBuilder
source§fn default() -> CreateGroupInputBuilder
fn default() -> CreateGroupInputBuilder
source§impl PartialEq for CreateGroupInputBuilder
impl PartialEq for CreateGroupInputBuilder
source§fn eq(&self, other: &CreateGroupInputBuilder) -> bool
fn eq(&self, other: &CreateGroupInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.