#[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
impl StructuralPartialEq for CreateGroupInputBuilder
Auto Trait Implementations§
impl Freeze for CreateGroupInputBuilder
impl RefUnwindSafe for CreateGroupInputBuilder
impl Send for CreateGroupInputBuilder
impl Sync for CreateGroupInputBuilder
impl Unpin for CreateGroupInputBuilder
impl UnwindSafe for CreateGroupInputBuilder
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