JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.accessanalyzer.model

Class CreateAnalyzerRequest

    • Constructor Detail

      • CreateAnalyzerRequest

        public CreateAnalyzerRequest()
    • Method Detail

      • setAnalyzerName

        public void setAnalyzerName(String analyzerName)

        The name of the analyzer to create.

        Parameters:
        analyzerName - The name of the analyzer to create.
      • getAnalyzerName

        public String getAnalyzerName()

        The name of the analyzer to create.

        Returns:
        The name of the analyzer to create.
      • withAnalyzerName

        public CreateAnalyzerRequest withAnalyzerName(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.
      • setType

        public void setType(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.
        See Also:
        Type
      • getType

        public String getType()

        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:
        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.
        See Also:
        Type
      • withType

        public CreateAnalyzerRequest withType(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
      • withType

        public CreateAnalyzerRequest withType(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
      • getArchiveRules

        public List<InlineArchiveRule> getArchiveRules()

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

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

        public void setArchiveRules(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.
      • withArchiveRules

        public CreateAnalyzerRequest withArchiveRules(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.

        NOTE: This method appends the values to the existing list (if any). Use setArchiveRules(java.util.Collection) or withArchiveRules(java.util.Collection) if you want to override the existing values.

        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.
      • withArchiveRules

        public CreateAnalyzerRequest withArchiveRules(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.
      • getTags

        public Map<String,String> getTags()

        An array of key-value pairs to apply to the analyzer.

        Returns:
        An array of key-value pairs to apply to the analyzer.
      • setTags

        public void setTags(Map<String,String> tags)

        An array of key-value pairs to apply to the analyzer.

        Parameters:
        tags - An array of key-value pairs to apply to the analyzer.
      • withTags

        public CreateAnalyzerRequest withTags(Map<String,String> tags)

        An array of key-value pairs to apply to the analyzer.

        Parameters:
        tags - An array of key-value pairs to apply to the analyzer.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clearTagsEntries

        public CreateAnalyzerRequest clearTagsEntries()
        Removes all the entries added into Tags.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setClientToken

        public void setClientToken(String clientToken)

        A client token.

        Parameters:
        clientToken - A client token.
      • getClientToken

        public String getClientToken()

        A client token.

        Returns:
        A client token.
      • withClientToken

        public CreateAnalyzerRequest withClientToken(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.
      • setConfiguration

        public void setConfiguration(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. If the analyzer is an external access analyzer, this field is not used.

        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. If the analyzer is an external access analyzer, this field is not used.
      • getConfiguration

        public AnalyzerConfiguration getConfiguration()

        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. If the analyzer is an external access analyzer, this field is not used.

        Returns:
        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. If the analyzer is an external access analyzer, this field is not used.
      • withConfiguration

        public CreateAnalyzerRequest withConfiguration(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. If the analyzer is an external access analyzer, this field is not used.

        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. If the analyzer is an external access analyzer, this field is not used.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /