public GetEnrollmentStatusesForOrganizationResult withAccountEnrollmentStatuses(java.util.Collection<AccountEnrollmentStatus> accountEnrollmentStatuses) {
        setAccountEnrollmentStatuses(accountEnrollmentStatuses);
        return this;
    }
<p>
An array of objects that describe the enrollment statuses of organization member accounts.
</p>

@param accountEnrollmentStatuses
       An array of objects that describe the enrollment statuses of organization member accounts.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-computeoptimizer/src/main/java/com/amazonaws/services/computeoptimizer/model/GetEnrollmentStatusesForOrganizationResult.java