Interface UpdateInvestigationGroupRequest.Builder
- All Superinterfaces:
AiOpsRequest.Builder
,AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateInvestigationGroupRequest.Builder,
,UpdateInvestigationGroupRequest> SdkBuilder<UpdateInvestigationGroupRequest.Builder,
,UpdateInvestigationGroupRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateInvestigationGroupRequest
-
Method Summary
Modifier and TypeMethodDescriptionchatbotNotificationChannel
(Map<String, ? extends Collection<String>> chatbotNotificationChannel) Use this structure to integrate CloudWatch investigations with Amazon Q in chat applications.crossAccountConfigurations
(Collection<CrossAccountConfiguration> crossAccountConfigurations) Used to configure cross-account access for an investigation group.crossAccountConfigurations
(Consumer<CrossAccountConfiguration.Builder>... crossAccountConfigurations) Used to configure cross-account access for an investigation group.crossAccountConfigurations
(CrossAccountConfiguration... crossAccountConfigurations) Used to configure cross-account access for an investigation group.encryptionConfiguration
(Consumer<EncryptionConfiguration.Builder> encryptionConfiguration) Use this structure if you want to use a customer managed KMS key to encrypt your investigation data.encryptionConfiguration
(EncryptionConfiguration encryptionConfiguration) Use this structure if you want to use a customer managed KMS key to encrypt your investigation data.identifier
(String identifier) Specify either the name or the ARN of the investigation group that you want to modify.isCloudTrailEventHistoryEnabled
(Boolean isCloudTrailEventHistoryEnabled) Specifytrue
to enable CloudWatch investigations to have access to change events that are recorded by CloudTrail.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Specify this field if you want to change the IAM role that CloudWatch investigations will use when it gathers investigation data.tagKeyBoundaries
(String... tagKeyBoundaries) Enter the existing custom tag keys for custom applications in your system.tagKeyBoundaries
(Collection<String> tagKeyBoundaries) Enter the existing custom tag keys for custom applications in your system.Methods inherited from interface software.amazon.awssdk.services.aiops.model.AiOpsRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
identifier
Specify either the name or the ARN of the investigation group that you want to modify.
- Parameters:
identifier
- Specify either the name or the ARN of the investigation group that you want to modify.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
Specify this field if you want to change the IAM role that CloudWatch investigations will use when it gathers investigation data. To do so, specify the ARN of the new role.
The permissions in this role determine which of your resources that CloudWatch investigations will have access to during investigations.
For more information, see EHow to control what data Amazon Q has access to during investigations.
- Parameters:
roleArn
- Specify this field if you want to change the IAM role that CloudWatch investigations will use when it gathers investigation data. To do so, specify the ARN of the new role.The permissions in this role determine which of your resources that CloudWatch investigations will have access to during investigations.
For more information, see EHow to control what data Amazon Q has access to during investigations.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionConfiguration
UpdateInvestigationGroupRequest.Builder encryptionConfiguration(EncryptionConfiguration encryptionConfiguration) Use this structure if you want to use a customer managed KMS key to encrypt your investigation data. If you omit this parameter, CloudWatch investigations will use an Amazon Web Services key to encrypt the data. For more information, see Encryption of investigation data.
- Parameters:
encryptionConfiguration
- Use this structure if you want to use a customer managed KMS key to encrypt your investigation data. If you omit this parameter, CloudWatch investigations will use an Amazon Web Services key to encrypt the data. For more information, see Encryption of investigation data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionConfiguration
default UpdateInvestigationGroupRequest.Builder encryptionConfiguration(Consumer<EncryptionConfiguration.Builder> encryptionConfiguration) Use this structure if you want to use a customer managed KMS key to encrypt your investigation data. If you omit this parameter, CloudWatch investigations will use an Amazon Web Services key to encrypt the data. For more information, see Encryption of investigation data.
This is a convenience method that creates an instance of theEncryptionConfiguration.Builder
avoiding the need to create one manually viaEncryptionConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toencryptionConfiguration(EncryptionConfiguration)
.- Parameters:
encryptionConfiguration
- a consumer that will call methods onEncryptionConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tagKeyBoundaries
Enter the existing custom tag keys for custom applications in your system. Resource tags help Amazon Q narrow the search space when it is unable to discover definite relationships between resources. For example, to discover that an Amazon ECS service depends on an Amazon RDS database, Amazon Q can discover this relationship using data sources such as X-Ray and CloudWatch Application Signals. However, if you haven't deployed these features, Amazon Q will attempt to identify possible relationships. Tag boundaries can be used to narrow the resources that will be discovered by Amazon Q in these cases.
You don't need to enter tags created by myApplications or CloudFormation, because Amazon Q can automatically detect those tags.
- Parameters:
tagKeyBoundaries
- Enter the existing custom tag keys for custom applications in your system. Resource tags help Amazon Q narrow the search space when it is unable to discover definite relationships between resources. For example, to discover that an Amazon ECS service depends on an Amazon RDS database, Amazon Q can discover this relationship using data sources such as X-Ray and CloudWatch Application Signals. However, if you haven't deployed these features, Amazon Q will attempt to identify possible relationships. Tag boundaries can be used to narrow the resources that will be discovered by Amazon Q in these cases.You don't need to enter tags created by myApplications or CloudFormation, because Amazon Q can automatically detect those tags.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagKeyBoundaries
Enter the existing custom tag keys for custom applications in your system. Resource tags help Amazon Q narrow the search space when it is unable to discover definite relationships between resources. For example, to discover that an Amazon ECS service depends on an Amazon RDS database, Amazon Q can discover this relationship using data sources such as X-Ray and CloudWatch Application Signals. However, if you haven't deployed these features, Amazon Q will attempt to identify possible relationships. Tag boundaries can be used to narrow the resources that will be discovered by Amazon Q in these cases.
You don't need to enter tags created by myApplications or CloudFormation, because Amazon Q can automatically detect those tags.
- Parameters:
tagKeyBoundaries
- Enter the existing custom tag keys for custom applications in your system. Resource tags help Amazon Q narrow the search space when it is unable to discover definite relationships between resources. For example, to discover that an Amazon ECS service depends on an Amazon RDS database, Amazon Q can discover this relationship using data sources such as X-Ray and CloudWatch Application Signals. However, if you haven't deployed these features, Amazon Q will attempt to identify possible relationships. Tag boundaries can be used to narrow the resources that will be discovered by Amazon Q in these cases.You don't need to enter tags created by myApplications or CloudFormation, because Amazon Q can automatically detect those tags.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
chatbotNotificationChannel
UpdateInvestigationGroupRequest.Builder chatbotNotificationChannel(Map<String, ? extends Collection<String>> chatbotNotificationChannel) Use this structure to integrate CloudWatch investigations with Amazon Q in chat applications. This structure is a string array. For the first string, specify the ARN of an Amazon SNS topic. For the array of strings, specify the ARNs of one or more Amazon Q in chat applications configurations that you want to associate with that topic. For more information about these configuration ARNs, see Getting started with Amazon Q in chat applications and Resource type defined by Amazon Web Services Chatbot.
- Parameters:
chatbotNotificationChannel
- Use this structure to integrate CloudWatch investigations with Amazon Q in chat applications. This structure is a string array. For the first string, specify the ARN of an Amazon SNS topic. For the array of strings, specify the ARNs of one or more Amazon Q in chat applications configurations that you want to associate with that topic. For more information about these configuration ARNs, see Getting started with Amazon Q in chat applications and Resource type defined by Amazon Web Services Chatbot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isCloudTrailEventHistoryEnabled
UpdateInvestigationGroupRequest.Builder isCloudTrailEventHistoryEnabled(Boolean isCloudTrailEventHistoryEnabled) Specify
true
to enable CloudWatch investigations to have access to change events that are recorded by CloudTrail. The default istrue
.- Parameters:
isCloudTrailEventHistoryEnabled
- Specifytrue
to enable CloudWatch investigations to have access to change events that are recorded by CloudTrail. The default istrue
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
crossAccountConfigurations
UpdateInvestigationGroupRequest.Builder crossAccountConfigurations(Collection<CrossAccountConfiguration> crossAccountConfigurations) Used to configure cross-account access for an investigation group. It allows the investigation group to access resources in other accounts.
- Parameters:
crossAccountConfigurations
- Used to configure cross-account access for an investigation group. It allows the investigation group to access resources in other accounts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
crossAccountConfigurations
UpdateInvestigationGroupRequest.Builder crossAccountConfigurations(CrossAccountConfiguration... crossAccountConfigurations) Used to configure cross-account access for an investigation group. It allows the investigation group to access resources in other accounts.
- Parameters:
crossAccountConfigurations
- Used to configure cross-account access for an investigation group. It allows the investigation group to access resources in other accounts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
crossAccountConfigurations
UpdateInvestigationGroupRequest.Builder crossAccountConfigurations(Consumer<CrossAccountConfiguration.Builder>... crossAccountConfigurations) Used to configure cross-account access for an investigation group. It allows the investigation group to access resources in other accounts.
This is a convenience method that creates an instance of theCrossAccountConfiguration.Builder
avoiding the need to create one manually viaCrossAccountConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocrossAccountConfigurations(List<CrossAccountConfiguration>)
.- Parameters:
crossAccountConfigurations
- a consumer that will call methods onCrossAccountConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateInvestigationGroupRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateInvestigationGroupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-