pub struct CreateGroupFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateGroup
.
Creates a group resource with a name and a filter expression.
Implementations§
source§impl CreateGroupFluentBuilder
impl CreateGroupFluentBuilder
sourcepub fn as_input(&self) -> &CreateGroupInputBuilder
pub fn as_input(&self) -> &CreateGroupInputBuilder
Access the CreateGroup as a reference.
sourcepub async fn send(
self,
) -> Result<CreateGroupOutput, SdkError<CreateGroupError, HttpResponse>>
pub async fn send( self, ) -> Result<CreateGroupOutput, SdkError<CreateGroupError, 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<CreateGroupOutput, CreateGroupError, Self>
pub fn customize( self, ) -> CustomizableOperation<CreateGroupOutput, CreateGroupError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
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.
Trait Implementations§
source§impl Clone for CreateGroupFluentBuilder
impl Clone for CreateGroupFluentBuilder
source§fn clone(&self) -> CreateGroupFluentBuilder
fn clone(&self) -> CreateGroupFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for CreateGroupFluentBuilder
impl !RefUnwindSafe for CreateGroupFluentBuilder
impl Send for CreateGroupFluentBuilder
impl Sync for CreateGroupFluentBuilder
impl Unpin for CreateGroupFluentBuilder
impl !UnwindSafe for CreateGroupFluentBuilder
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