Interface CreateAnalyzerRequest.Builder

    • Method Detail

      • analyzerName

        CreateAnalyzerRequest.Builder analyzerName​(String analyzerName)

        The name of the analyzer to create.

        Parameters:
        analyzerName - The name of the analyzer to create.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • type

        CreateAnalyzerRequest.Builder type​(String type)

        The type of analyzer to create. Only ACCOUNT, ORGANIZATION, ACCOUNT_UNUSED_ACCESS, and ORGANIZATION_UNUSED_ACCESS analyzers are supported. You can create only one analyzer per account per Region. You can create up to 5 analyzers per organization per Region.

        Parameters:
        type - The type of analyzer to create. Only ACCOUNT, ORGANIZATION, ACCOUNT_UNUSED_ACCESS, and ORGANIZATION_UNUSED_ACCESS analyzers are supported. You can create only one analyzer per account per Region. You can create up to 5 analyzers per organization per Region.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Type, Type
      • type

        CreateAnalyzerRequest.Builder type​(Type type)

        The type of analyzer to create. Only ACCOUNT, ORGANIZATION, ACCOUNT_UNUSED_ACCESS, and ORGANIZATION_UNUSED_ACCESS analyzers are supported. You can create only one analyzer per account per Region. You can create up to 5 analyzers per organization per Region.

        Parameters:
        type - The type of analyzer to create. Only ACCOUNT, ORGANIZATION, ACCOUNT_UNUSED_ACCESS, and ORGANIZATION_UNUSED_ACCESS analyzers are supported. You can create only one analyzer per account per Region. You can create up to 5 analyzers per organization per Region.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Type, Type
      • archiveRules

        CreateAnalyzerRequest.Builder archiveRules​(Collection<InlineArchiveRule> archiveRules)

        Specifies the archive rules to add for the analyzer. Archive rules automatically archive findings that meet the criteria you define for the rule.

        Parameters:
        archiveRules - Specifies the archive rules to add for the analyzer. Archive rules automatically archive findings that meet the criteria you define for the rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • archiveRules

        CreateAnalyzerRequest.Builder archiveRules​(InlineArchiveRule... archiveRules)

        Specifies the archive rules to add for the analyzer. Archive rules automatically archive findings that meet the criteria you define for the rule.

        Parameters:
        archiveRules - Specifies the archive rules to add for the analyzer. Archive rules automatically archive findings that meet the criteria you define for the rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateAnalyzerRequest.Builder tags​(Map<String,​String> tags)

        An array of key-value pairs to apply to the analyzer. You can use the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

        For the tag key, you can specify a value that is 1 to 128 characters in length and cannot be prefixed with aws:.

        For the tag value, you can specify a value that is 0 to 256 characters in length.

        Parameters:
        tags - An array of key-value pairs to apply to the analyzer. You can use the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

        For the tag key, you can specify a value that is 1 to 128 characters in length and cannot be prefixed with aws:.

        For the tag value, you can specify a value that is 0 to 256 characters in length.

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

        CreateAnalyzerRequest.Builder clientToken​(String clientToken)

        A client token.

        Parameters:
        clientToken - A client token.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • configuration

        CreateAnalyzerRequest.Builder configuration​(AnalyzerConfiguration configuration)

        Specifies the configuration of the analyzer. If the analyzer is an unused access analyzer, the specified scope of unused access is used for the configuration.

        Parameters:
        configuration - Specifies the configuration of the analyzer. If the analyzer is an unused access analyzer, the specified scope of unused access is used for the configuration.
        Returns:
        Returns a reference to this object so that method calls can be chained together.