@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateGroupRequest() |
Modifier and Type | Method and Description |
---|---|
CreateGroupRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getFilterExpression()
The filter expression defining criteria by which to group traces.
|
String |
getGroupName()
The case-sensitive name of the new group.
|
InsightsConfiguration |
getInsightsConfiguration()
The structure containing configurations related to insights.
|
List<Tag> |
getTags()
A map that contains one or more tag keys and tag values to attach to an X-Ray group.
|
int |
hashCode() |
void |
setFilterExpression(String filterExpression)
The filter expression defining criteria by which to group traces.
|
void |
setGroupName(String groupName)
The case-sensitive name of the new group.
|
void |
setInsightsConfiguration(InsightsConfiguration insightsConfiguration)
The structure containing configurations related to insights.
|
void |
setTags(Collection<Tag> tags)
A map that contains one or more tag keys and tag values to attach to an X-Ray group.
|
String |
toString()
Returns a string representation of this object.
|
CreateGroupRequest |
withFilterExpression(String filterExpression)
The filter expression defining criteria by which to group traces.
|
CreateGroupRequest |
withGroupName(String groupName)
The case-sensitive name of the new group.
|
CreateGroupRequest |
withInsightsConfiguration(InsightsConfiguration insightsConfiguration)
The structure containing configurations related to insights.
|
CreateGroupRequest |
withTags(Collection<Tag> tags)
A map that contains one or more tag keys and tag values to attach to an X-Ray group.
|
CreateGroupRequest |
withTags(Tag... tags)
A map that contains one or more tag keys and tag values to attach to an X-Ray group.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setGroupName(String groupName)
The case-sensitive name of the new group. Default is a reserved name and names must be unique.
groupName
- The case-sensitive name of the new group. Default is a reserved name and names must be unique.public String getGroupName()
The case-sensitive name of the new group. Default is a reserved name and names must be unique.
public CreateGroupRequest withGroupName(String groupName)
The case-sensitive name of the new group. Default is a reserved name and names must be unique.
groupName
- The case-sensitive name of the new group. Default is a reserved name and names must be unique.public void setFilterExpression(String filterExpression)
The filter expression defining criteria by which to group traces.
filterExpression
- The filter expression defining criteria by which to group traces.public String getFilterExpression()
The filter expression defining criteria by which to group traces.
public CreateGroupRequest withFilterExpression(String filterExpression)
The filter expression defining criteria by which to group traces.
filterExpression
- The filter expression defining criteria by which to group traces.public void setInsightsConfiguration(InsightsConfiguration 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.
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.
public InsightsConfiguration getInsightsConfiguration()
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.
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.
public CreateGroupRequest withInsightsConfiguration(InsightsConfiguration 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.
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.
public List<Tag> getTags()
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.
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.
public void setTags(Collection<Tag> 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.
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.
public CreateGroupRequest withTags(Tag... 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.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
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.
public CreateGroupRequest withTags(Collection<Tag> 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.
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.
public String toString()
toString
in class Object
Object.toString()
public CreateGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()