Interface CreateInvestigationGroupRequest.Builder

  • Method Details

    • name

      Provides a name for the investigation group.

      Parameters:
      name - Provides a name for the investigation group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • roleArn

      Specify the ARN of the IAM role that CloudWatch investigations will use when it gathers investigation data. The permissions in this role determine which of your resources that CloudWatch investigations will have access to during investigations.

      For more information, see How to control what data Amazon Q has access to during investigations.

      Parameters:
      roleArn - Specify the ARN of the IAM role that CloudWatch investigations will use when it gathers investigation data. The permissions in this role determine which of your resources that CloudWatch investigations will have access to during investigations.

      For more information, see How 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

      CreateInvestigationGroupRequest.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 CreateInvestigationGroupRequest.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 the EncryptionConfiguration.Builder avoiding the need to create one manually via EncryptionConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to encryptionConfiguration(EncryptionConfiguration).

      Parameters:
      encryptionConfiguration - a consumer that will call methods on EncryptionConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • retentionInDays

      CreateInvestigationGroupRequest.Builder retentionInDays(Long retentionInDays)

      Specify how long that investigation data is kept. For more information, see Operational investigation data retention.

      If you omit this parameter, the default of 90 days is used.

      Parameters:
      retentionInDays - Specify how long that investigation data is kept. For more information, see Operational investigation data retention.

      If you omit this parameter, the default of 90 days is used.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      A list of key-value pairs to associate with the investigation group. You can associate as many as 50 tags with an investigation group. To be able to associate tags when you create the investigation group, you must have the cloudwatch:TagResource permission.

      Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.

      Parameters:
      tags - A list of key-value pairs to associate with the investigation group. You can associate as many as 50 tags with an investigation group. To be able to associate tags when you create the investigation group, you must have the cloudwatch:TagResource permission.

      Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tagKeyBoundaries

      CreateInvestigationGroupRequest.Builder tagKeyBoundaries(Collection<String> 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

      CreateInvestigationGroupRequest.Builder tagKeyBoundaries(String... 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

      CreateInvestigationGroupRequest.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

      CreateInvestigationGroupRequest.Builder isCloudTrailEventHistoryEnabled(Boolean isCloudTrailEventHistoryEnabled)

      Specify true to enable CloudWatch investigations to have access to change events that are recorded by CloudTrail. The default is true.

      Parameters:
      isCloudTrailEventHistoryEnabled - Specify true to enable CloudWatch investigations to have access to change events that are recorded by CloudTrail. The default is true.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • crossAccountConfigurations

      CreateInvestigationGroupRequest.Builder crossAccountConfigurations(Collection<CrossAccountConfiguration> crossAccountConfigurations)

      Number of sourceAccountId values that have been configured for cross-account access.

      Parameters:
      crossAccountConfigurations - Number of sourceAccountId values that have been configured for cross-account access.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • crossAccountConfigurations

      CreateInvestigationGroupRequest.Builder crossAccountConfigurations(CrossAccountConfiguration... crossAccountConfigurations)

      Number of sourceAccountId values that have been configured for cross-account access.

      Parameters:
      crossAccountConfigurations - Number of sourceAccountId values that have been configured for cross-account access.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • crossAccountConfigurations

      CreateInvestigationGroupRequest.Builder crossAccountConfigurations(Consumer<CrossAccountConfiguration.Builder>... crossAccountConfigurations)

      Number of sourceAccountId values that have been configured for cross-account access.

      This is a convenience method that creates an instance of the CrossAccountConfiguration.Builder avoiding the need to create one manually via CrossAccountConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to crossAccountConfigurations(List<CrossAccountConfiguration>).

      Parameters:
      crossAccountConfigurations - a consumer that will call methods on CrossAccountConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      CreateInvestigationGroupRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.