public void setAllRegions(Boolean allRegions) {
        this.allRegions = allRegions;
    }
<p>
Possible values are <code>true</code> or <code>false</code>. If set to <code>true</code>, IAM Access Analyzer
retrieves CloudTrail data from all regions to analyze and generate a policy.
</p>

@param allRegions
       Possible values are <code>true</code> or <code>false</code>. If set to <code>true</code>, IAM Access
       Analyzer retrieves CloudTrail data from all regions to analyze and generate a policy.
aws-java-sdk-accessanalyzer/src/main/java/com/amazonaws/services/accessanalyzer/model/Trail.java